com.netflix.astyanax.model
Class KeySlice<K>
java.lang.Object
com.netflix.astyanax.model.KeySlice<K>
- Type Parameters:
K
-
public class KeySlice<K>
- extends java.lang.Object
Definition of a set of keys. The set can be either a fixed set of keys, a
range of keys or a range of tokens.
Constructor Summary |
KeySlice(java.util.Collection<K> keys)
|
KeySlice(K startKey,
K endKey,
java.lang.String startToken,
java.lang.String endToken,
int size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeySlice
public KeySlice(java.util.Collection<K> keys)
KeySlice
public KeySlice(K startKey,
K endKey,
java.lang.String startToken,
java.lang.String endToken,
int size)
getKeys
public java.util.Collection<K> getKeys()
getStartKey
public K getStartKey()
getEndKey
public K getEndKey()
getStartToken
public java.lang.String getStartToken()
getEndToken
public java.lang.String getEndToken()
getLimit
public int getLimit()