K - The type of the key used by KeyRanges produced by this factory .public interface KeyRangeFactory<K>
| Modifier and Type | Method and Description |
|---|---|
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
|
KeyRange<K> only(K key)
key - KeyRange<K> lowerBound(K key, boolean open)
key - open - if true, does not include the lower boundKeyRange<K> lowerBound(K key)
key - KeyRange<K> upperBound(K key, boolean open)
key - open - if true, does not include the upper boundKeyRange<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 boundCopyright © 2015. All rights reserved.