|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapRangeIndex
This interface is an index that allows comparison type searches for a range of keys.
ObjectMap.getIndex(String)
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.websphere.objectgrid.plugins.index.MapIndex |
---|
MapIndex.SpecialValue |
Field Summary |
---|
Fields inherited from interface com.ibm.websphere.objectgrid.plugins.index.MapIndex |
---|
EMPTY_VALUE |
Method Summary | |
---|---|
Iterator |
findGreater(Object attributeValue)
Finds all keys with entries with an attribute value greater than the specified value. |
Iterator |
findGreaterEqual(Object attributeValue)
Find all keys with entries with an attribute value greater than or equal to the specified value. |
Iterator |
findLess(Object attributeValue)
Finds all keys with entries with an attribute value less than the specified value. |
Iterator |
findLessEqual(Object attributeValue)
Finds all keys with entries with an attribute value less than or equal to the specified value. |
Iterator |
findMax()
Returns the keys for the entries that have the maximum attribute value. |
Iterator |
findMin()
Returns the keys for the entries that have the minimum attribute value. |
Iterator |
findRange(Object lowAttributeValue,
Object highAttributeValue)
Returns all keys for the entries with an attribute value inclusively within the specified range such that lowAttributeValue <= attribute value < highAttributeValue. |
Iterator |
findRange(Object lowAttributeValue,
Object highAttributeValue,
boolean includesLowAttributeValue,
boolean includesHighAttributeValue)
Returns all keys for the entries with an attribute value. |
Methods inherited from interface com.ibm.websphere.objectgrid.plugins.index.MapIndex |
---|
findAll, findAll |
Method Detail |
---|
Iterator findGreater(Object attributeValue) throws FinderException
attributeValue
- is the low endpoint of the range excluding the low
attribute value.
IllegalArgumentException
- if attributeValue is null
.
FinderException
- if an exception or retry limit is reached when
concurrent transactions updating the index prevent findGreater
from completing.Iterator findGreaterEqual(Object attributeValue) throws FinderException
attributeValue
- is the low endpoint of the range including the low
attribute value.
IllegalArgumentException
- if attributeValue is null
.
FinderException
- if an exception or retry limit is reached when
concurrent transactions updating the index prevent
findGreaterEqual from completing.Iterator findLess(Object attributeValue) throws FinderException
attributeValue
- is the high endpoint of the range excluding the
high attribute value.
IllegalArgumentException
- if attributeValue is null
.
FinderException
- if an exception or retry limit is reached when
concurrent transactions updating the index prevent findLess
from completing.Iterator findLessEqual(Object attributeValue) throws FinderException
attributeValue
- is the high endpoint of the range including the
high attribute value.
IllegalArgumentException
- if attributeValue is null
.
FinderException
- if an exception or retry limit is reached when
concurrent transactions updating the index prevent findLessEqual
from completing.Iterator findRange(Object lowAttributeValue, Object highAttributeValue) throws FinderException
lowAttributeValue
- is the low endpoint of the range including the
low attribute value.highAttributeValue
- is the high endpoint of range excluding the
high attribute value.
IllegalArgumentException
- if either lowAttributeValue or highAttributeValue
argument is null
or lowAttributeValue > highAttributeValue.
FinderException
- if an exception or retry limit is reached when
concurrent transactions updating the index prevent findRange
from completing.Iterator findRange(Object lowAttributeValue, Object highAttributeValue, boolean includesLowAttributeValue, boolean includesHighAttributeValue) throws FinderException
lowAttributeValue
- is the low endpoint of the range.highAttributeValue
- is the high endpoint of range.includesLowAttributeValue
- if true, include the low attribute value of the range.includesHighAttributeValue
- if true, include the high attribute value of the range.
IllegalArgumentException
- if either lowAttributeValue or highAttributeValue
argument is null
or lowAttributeValue > highAttributeValue.
FinderException
- if an exception or retry limit is reached when
concurrent transactions updating the index prevent findRange
from completing.Iterator findMin() throws FinderException
FinderException
- if an exception or retry limit is reached
when concurrent transactions updating the index prevent findMin from completing.Iterator findMax() throws FinderException
FinderException
- if an exception or retry limit is reached
when concurrent transactions updating the index prevent findMax from completing.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |