K - C - public class CqlRowSliceQueryImpl<K,C>
extends java.lang.Object
implements com.netflix.astyanax.query.RowSliceQuery<K,C>
RowSliceQuery interface.
Just like CqlRowQueryImpl this class only manages the context for the row slice query, but does not construct the actual
CQL query itself. For more details on how the actual query is constructed see classes
CFRowKeysQueryGen and CFRowRangeQueryGen| Modifier and Type | Class and Description |
|---|---|
static class |
CqlRowSliceQueryImpl.ColumnSliceQueryType |
static class |
CqlRowSliceQueryImpl.RowSliceQueryType |
| Constructor and Description |
|---|
CqlRowSliceQueryImpl(CqlKeyspaceImpl.KeyspaceContext ksCtx,
CFQueryContext<K,C> cfCtx,
CqlRowSlice<K> rSlice,
boolean useCaching) |
CqlRowSliceQueryImpl(CqlKeyspaceImpl.KeyspaceContext ksCtx,
CFQueryContext<K,C> cfCtx,
CqlRowSlice<K> rSlice,
boolean condition,
boolean useCaching) |
| Modifier and Type | Method and Description |
|---|---|
com.netflix.astyanax.connectionpool.OperationResult<com.netflix.astyanax.model.Rows<K,C>> |
execute() |
com.google.common.util.concurrent.ListenableFuture<com.netflix.astyanax.connectionpool.OperationResult<com.netflix.astyanax.model.Rows<K,C>>> |
executeAsync() |
CqlRowSliceQueryImpl.ColumnSliceQueryType |
getColQueryType() |
com.netflix.astyanax.query.RowSliceColumnCountQuery<K> |
getColumnCounts() |
CqlColumnSlice<C> |
getColumnSlice() |
com.netflix.astyanax.serializers.CompositeRangeBuilder.CompositeByteBufferRange |
getCompositeRange() |
CqlRowSliceQueryImpl.RowSliceQueryType |
getRowQueryType() |
CqlRowSlice<K> |
getRowSlice() |
com.netflix.astyanax.query.RowSliceQuery<K,C> |
withColumnRange(java.nio.ByteBuffer startColumn,
java.nio.ByteBuffer endColumn,
boolean reversed,
int limit) |
com.netflix.astyanax.query.RowSliceQuery<K,C> |
withColumnRange(com.netflix.astyanax.model.ByteBufferRange range) |
com.netflix.astyanax.query.RowSliceQuery<K,C> |
withColumnRange(C startColumn,
C endColumn,
boolean reversed,
int count) |
com.netflix.astyanax.query.RowSliceQuery<K,C> |
withColumnSlice(C... columns) |
com.netflix.astyanax.query.RowSliceQuery<K,C> |
withColumnSlice(java.util.Collection<C> columns) |
com.netflix.astyanax.query.RowSliceQuery<K,C> |
withColumnSlice(com.netflix.astyanax.model.ColumnSlice<C> columns) |
public CqlRowSliceQueryImpl(CqlKeyspaceImpl.KeyspaceContext ksCtx, CFQueryContext<K,C> cfCtx, CqlRowSlice<K> rSlice, boolean useCaching)
public CqlRowSliceQueryImpl(CqlKeyspaceImpl.KeyspaceContext ksCtx, CFQueryContext<K,C> cfCtx, CqlRowSlice<K> rSlice, boolean condition, boolean useCaching)
public com.netflix.astyanax.connectionpool.OperationResult<com.netflix.astyanax.model.Rows<K,C>> execute() throws com.netflix.astyanax.connectionpool.exceptions.ConnectionException
public com.google.common.util.concurrent.ListenableFuture<com.netflix.astyanax.connectionpool.OperationResult<com.netflix.astyanax.model.Rows<K,C>>> executeAsync() throws com.netflix.astyanax.connectionpool.exceptions.ConnectionException
public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnSlice(java.util.Collection<C> columns)
public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnSlice(com.netflix.astyanax.model.ColumnSlice<C> columns)
public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnRange(C startColumn, C endColumn, boolean reversed, int count)
public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnRange(java.nio.ByteBuffer startColumn, java.nio.ByteBuffer endColumn, boolean reversed, int limit)
public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnRange(com.netflix.astyanax.model.ByteBufferRange range)
public com.netflix.astyanax.query.RowSliceColumnCountQuery<K> getColumnCounts()
public CqlRowSlice<K> getRowSlice()
public CqlColumnSlice<C> getColumnSlice()
public com.netflix.astyanax.serializers.CompositeRangeBuilder.CompositeByteBufferRange getCompositeRange()
public CqlRowSliceQueryImpl.ColumnSliceQueryType getColQueryType()
public CqlRowSliceQueryImpl.RowSliceQueryType getRowQueryType()