K - public class CqlRowSlice<K>
extends java.lang.Object
RowSliceQuery
Note that there are 2 essential components for a row slice
1. Collection of individual row keys
2. Row range specification.
The class has data structures to represent both these components and also has helpful methods to identify
the type of row slice query.| Modifier and Type | Class and Description |
|---|---|
static class |
CqlRowSlice.RowRange<K> |
| Constructor and Description |
|---|
CqlRowSlice(java.util.Collection<K> keys) |
CqlRowSlice(K startKey,
K endKey,
java.lang.String startToken,
java.lang.String endToken,
int count) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<K> |
getKeys() |
CqlRowSlice.RowRange<K> |
getRange() |
boolean |
isCollectionQuery() |
boolean |
isRangeQuery() |
public CqlRowSlice(java.util.Collection<K> keys)
public java.util.Collection<K> getKeys()
public CqlRowSlice.RowRange<K> getRange()
public boolean isCollectionQuery()
public boolean isRangeQuery()