| Modifier and Type | Field and Description |
|---|---|
| protected List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addPartition(String connectionPool, Comparable<T> startValue, Comparable<T> endValue)
PUBLIC: Add the range partition. |
| public void | |
| public void | convertClassNamesToClasses(ClassLoader classLoader)
Overrides org. |
| public List | getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)
Implements abstract org. |
| public List | |
| public void | partitionPersist(AbstractSession session, Object object, ClassDescriptor descriptor)
Overrides org. |
| public void |
| partitions | back to summary |
|---|---|
| protected List<RangePartition> partitions | |
| RangePartitioningPolicy | back to summary |
|---|---|
| public RangePartitioningPolicy() | |
| RangePartitioningPolicy | back to summary |
|---|---|
| public RangePartitioningPolicy(String partitionField) | |
| RangePartitioningPolicy | back to summary |
|---|---|
| public RangePartitioningPolicy(String partitionField, boolean unionUnpartitionableQueries) | |
| RangePartitioningPolicy | back to summary |
|---|---|
| public RangePartitioningPolicy(String partitionField, RangePartition... partitions) | |
| addPartition | back to summary |
|---|---|
| public void addPartition(String connectionPool, Comparable<T> startValue, Comparable<T> endValue) PUBLIC: Add the range partition. | |
| addPartition | back to summary |
|---|---|
| public void addPartition(RangePartition partition) PUBLIC: Add the range partition. | |
| convertClassNamesToClasses | back to summary |
|---|---|
| public void convertClassNamesToClasses(ClassLoader classLoader) Overrides org. INTERNAL: Convert all the class-name-based settings to actual class-based settings. This method is used when converting a project that has been built with class names to a project with classes.
| |
| getConnectionsForQuery | back to summary |
|---|---|
| public List Implements abstract org. INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.
| |
| getPartitions | back to summary |
|---|---|
| public List PUBLIC: Return the range partitions. Each partition represents a range of value to route to a connection pool. Range values should not overlap. | |
| partitionPersist | back to summary |
|---|---|
| public void partitionPersist(AbstractSession session, Object object, ClassDescriptor descriptor) Overrides org. INTERNAL: Allow for the persist call to assign the partition.
| |
| setPartitions | back to summary |
|---|---|
| public void setPartitions(List<RangePartition> partitions) PUBLIC: Set the range partitions. Each partition represents a range of value to route to a connection pool. Range values should not overlap. | |