|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.descriptors.partitioning.RangePartition
public class RangePartition
PUBLIC: Represent a specific range partition. Values >= startValue and <= endValue will be routed to the connection pool.
Field Summary | |
---|---|
protected java.lang.String |
connectionPool
|
protected java.lang.Comparable |
endValue
|
protected java.lang.Comparable |
startValue
|
Constructor Summary | |
---|---|
RangePartition()
|
|
RangePartition(java.lang.String connectionPool,
java.lang.Comparable startValue,
java.lang.Comparable endValue)
PUBLIC: Create the partition for the connectionPool and start/end values. |
Method Summary | |
---|---|
java.lang.String |
getConnectionPool()
PUBLIC: Return the connection pool to use for this partition. |
java.lang.Comparable |
getEndValue()
PUBLIC: Return the range end value. |
java.lang.Comparable |
getStartValue()
PUBLIC: Return the range start value. |
boolean |
isInRange(java.lang.Object value)
INTERNAL: Return if the value is in the partitions range. |
void |
setConnectionPool(java.lang.String connectionPool)
PUBLIC: Return the connection pool to use for this partition. |
void |
setEndValue(java.lang.Comparable endValue)
PUBLIC: Set the range end value. |
void |
setStartValue(java.lang.Comparable startValue)
PUBLIC: Set the range start value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Comparable startValue
protected java.lang.Comparable endValue
protected java.lang.String connectionPool
Constructor Detail |
---|
public RangePartition()
public RangePartition(java.lang.String connectionPool, java.lang.Comparable startValue, java.lang.Comparable endValue)
Method Detail |
---|
public java.lang.Comparable getStartValue()
public void setStartValue(java.lang.Comparable startValue)
public java.lang.Comparable getEndValue()
public void setEndValue(java.lang.Comparable endValue)
public java.lang.String getConnectionPool()
public void setConnectionPool(java.lang.String connectionPool)
public boolean isInRange(java.lang.Object value)
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |