|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RowSliceQuery<K,C>
Interface to narrow down the path and column slices within a query after the keys were seleted using the ColumnFamilyQuery.
Method Summary | |
---|---|
RowSliceColumnCountQuery<K> |
getColumnCounts()
Get column counts for the slice or range |
RowSliceQuery<K,C> |
withColumnRange(java.nio.ByteBuffer startColumn,
java.nio.ByteBuffer endColumn,
boolean reversed,
int count)
Specify a range and provide pre-constructed start and end columns. |
RowSliceQuery<K,C> |
withColumnRange(ByteBufferRange range)
Specify a range of composite columns. |
RowSliceQuery<K,C> |
withColumnRange(C startColumn,
C endColumn,
boolean reversed,
int count)
Specify a range of columns to return. |
RowSliceQuery<K,C> |
withColumnSlice(C... columns)
Specify a non-contiguous set of columns to retrieve. |
RowSliceQuery<K,C> |
withColumnSlice(java.util.Collection<C> columns)
Specify a non-contiguous set of columns to retrieve. |
RowSliceQuery<K,C> |
withColumnSlice(ColumnSlice<C> columns)
Use this when your application caches the column slice. |
Methods inherited from interface com.netflix.astyanax.Execution |
---|
execute, executeAsync |
Method Detail |
---|
RowSliceQuery<K,C> withColumnSlice(C... columns)
columns
-
RowSliceQuery<K,C> withColumnSlice(java.util.Collection<C> columns)
columns
-
RowSliceQuery<K,C> withColumnSlice(ColumnSlice<C> columns)
slice
-
RowSliceQuery<K,C> withColumnRange(C startColumn, C endColumn, boolean reversed, int count)
startColumn
- First column in the rangeendColumn
- Last column in the rangereversed
- True if the order should be reversed. Note that for reversed,
startColumn should be greater than endColumn.count
- Maximum number of columns to return (similar to SQL LIMIT)
RowSliceQuery<K,C> withColumnRange(java.nio.ByteBuffer startColumn, java.nio.ByteBuffer endColumn, boolean reversed, int count)
startColumn
- endColumn
- reversed
- count
-
RowSliceQuery<K,C> withColumnRange(ByteBufferRange range)
range
-
RowSliceColumnCountQuery<K> getColumnCounts()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |