| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected Comparable | |
| protected String | |
| protected Class | |
| protected String | |
| protected Comparable | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | RangePartition(String connectionPool, String partitionValueTypeName, String startValueName, String endValueName)
INTERNAL: COnstructor used from metadata processing to avoid classloader dependencies. |
| public | RangePartition(String connectionPool, Comparable<T> startValue, Comparable<T> endValue)
PUBLIC: Create the partition for the connectionPool and start/end values. |
| Modifier and Type | Method and Description |
|---|---|
| public void | convertClassNamesToClasses(ClassLoader classLoader)
INTERNAL: Convert all the class-name-based settings to actual class-based settings. |
| public String | |
| public Comparable | |
| public Comparable | |
| protected <T> T | |
| public boolean | |
| public void | setConnectionPool(String connectionPool)
PUBLIC: Return the connection pool to use for this partition. |
| public void | |
| public void |
| connectionPool | back to summary |
|---|---|
| protected String connectionPool | |
| endValue | back to summary |
|---|---|
| protected Comparable<T> endValue | |
| endValueName | back to summary |
|---|---|
| protected String endValueName | |
| partitionValueType | back to summary |
|---|---|
| protected Class<?> partitionValueType | |
| partitionValueTypeName | back to summary |
|---|---|
| protected String partitionValueTypeName | |
| startValue | back to summary |
|---|---|
| protected Comparable<T> startValue | |
| startValueName | back to summary |
|---|---|
| protected String startValueName | |
| RangePartition | back to summary |
|---|---|
| public RangePartition() | |
| RangePartition | back to summary |
|---|---|
| public RangePartition(String connectionPool, String partitionValueTypeName, String startValueName, String endValueName) INTERNAL: COnstructor used from metadata processing to avoid classloader dependencies. Class names are converted/initialized in the convertClassNamesToClasses method. | |
| RangePartition | back to summary |
|---|---|
| public RangePartition(String connectionPool, Comparable<T> startValue, Comparable<T> endValue) PUBLIC: Create the partition for the connectionPool and start/end values. | |
| convertClassNamesToClasses | back to summary |
|---|---|
| public void convertClassNamesToClasses(ClassLoader classLoader) 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. | |
| getConnectionPool | back to summary |
|---|---|
| public String getConnectionPool() PUBLIC: Return the connection pool to use for this partition. | |
| getEndValue | back to summary |
|---|---|
| public Comparable PUBLIC: Return the range end value. Values less than or equal this value are part of this partition. | |
| getStartValue | back to summary |
|---|---|
| public Comparable PUBLIC: Return the range start value. Values greater or equal to this value are part of this partition. | |
| initObject | back to summary |
|---|---|
| protected <T> T initObject(Class<T> type, String value) INTERNAL: TODO: clean up the exception handling.
| |
| isInRange | back to summary |
|---|---|
| public boolean isInRange(Object value) INTERNAL: Return if the value is in the partitions range. | |
| setConnectionPool | back to summary |
|---|---|
| public void setConnectionPool(String connectionPool) PUBLIC: Return the connection pool to use for this partition. | |
| setEndValue | back to summary |
|---|---|
| public void setEndValue(Comparable<T> endValue) PUBLIC: Set the range end value. Values less than or equal this value are part of this partition. | |
| setStartValue | back to summary |
|---|---|
| public void setStartValue(Comparable<T> startValue) PUBLIC: Set the range start value. Values greater or equal to this value are part of this partition. | |