|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - The type of the key used by KeyRanges produced by this factory .public interface KeyRangeFactory<K>
A factory for KeyRange objects
| Method Summary | |
|---|---|
KeyRange<K> |
bound(K startKey,
K endKey)
Create a KeyRange including all keys between upper and lower bound keys |
KeyRange<K> |
bound(K startKey,
K endKey,
boolean startOpen,
boolean endOpen)
Create a KeyRange including all keys between upper and lower bound keys |
KeyRange<K> |
lowerBound(K key)
Create a KeyRange including all keys greater than the given key |
KeyRange<K> |
lowerBound(K key,
boolean open)
Create a KeyRange including all keys greater than the given key |
KeyRange<K> |
only(K key)
Create a KeyRange including only the given Key |
KeyRange<K> |
upperBound(K key)
Create a KeyRange including all keys smaller than the given key |
KeyRange<K> |
upperBound(K key,
boolean open)
Create a KeyRange including all keys smaller than the given key |
| Method Detail |
|---|
KeyRange<K> only(K key)
key -
KeyRange<K> lowerBound(K key,
boolean open)
key - open - if true, does not include the lower bound
KeyRange<K> lowerBound(K key)
key -
KeyRange<K> upperBound(K key,
boolean open)
key - open - if true, does not include the upper bound
KeyRange<K> upperBound(K key)
key -
KeyRange<K> bound(K startKey,
K endKey,
boolean startOpen,
boolean endOpen)
startKey - endKey - startOpen - if true, does not include the lower boundendOpen - if true, does not include the upper bound
KeyRange<K> bound(K startKey,
K endKey)
startKey - endKey -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||