Package io.ebean.annotation
Annotation Type DbPartition
-
@Retention(RUNTIME) @Target(TYPE) public @interface DbPartition
Specify that the underlying table is partitioned.This is currently only useful for Postgres 10 range partitioned tables and not used for any other database or ElasticSearch or other non-range partitioning.
This modifies the Postgres DDL generation only adding range partitioning clause and suppressing foreign key constraints to partitioned tables.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description PartitionModemodeThe partition mode.StringpropertyThe property or column to partition on.
-
-
-
Element Detail
-
mode
PartitionMode mode
The partition mode.
-
-