com.netflix.astyanax.thrift
Class AbstractRowSliceQueryImpl<K,C>

java.lang.Object
  extended by com.netflix.astyanax.thrift.AbstractRowSliceQueryImpl<K,C>
All Implemented Interfaces:
com.netflix.astyanax.Execution<com.netflix.astyanax.model.Rows<K,C>>, com.netflix.astyanax.query.RowSliceQuery<K,C>

public abstract class AbstractRowSliceQueryImpl<K,C>
extends java.lang.Object
implements com.netflix.astyanax.query.RowSliceQuery<K,C>


Field Summary
protected  org.apache.cassandra.thrift.SlicePredicate predicate
           
 
Constructor Summary
AbstractRowSliceQueryImpl(com.netflix.astyanax.Serializer<C> serializer)
           
 
Method Summary
 com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnRange(java.nio.ByteBuffer startColumn, java.nio.ByteBuffer endColumn, boolean reversed, int count)
           
 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> slice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.netflix.astyanax.query.RowSliceQuery
getColumnCounts
 
Methods inherited from interface com.netflix.astyanax.Execution
execute, executeAsync
 

Field Detail

predicate

protected org.apache.cassandra.thrift.SlicePredicate predicate
Constructor Detail

AbstractRowSliceQueryImpl

public AbstractRowSliceQueryImpl(com.netflix.astyanax.Serializer<C> serializer)
Method Detail

withColumnSlice

public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnSlice(C... columns)
Specified by:
withColumnSlice in interface com.netflix.astyanax.query.RowSliceQuery<K,C>

withColumnSlice

public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnSlice(java.util.Collection<C> columns)
Specified by:
withColumnSlice in interface com.netflix.astyanax.query.RowSliceQuery<K,C>

withColumnRange

public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnRange(C startColumn,
                                                                     C endColumn,
                                                                     boolean reversed,
                                                                     int count)
Specified by:
withColumnRange in interface com.netflix.astyanax.query.RowSliceQuery<K,C>

withColumnRange

public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnRange(java.nio.ByteBuffer startColumn,
                                                                     java.nio.ByteBuffer endColumn,
                                                                     boolean reversed,
                                                                     int count)
Specified by:
withColumnRange in interface com.netflix.astyanax.query.RowSliceQuery<K,C>

withColumnSlice

public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnSlice(com.netflix.astyanax.model.ColumnSlice<C> slice)
Specified by:
withColumnSlice in interface com.netflix.astyanax.query.RowSliceQuery<K,C>

withColumnRange

public com.netflix.astyanax.query.RowSliceQuery<K,C> withColumnRange(com.netflix.astyanax.model.ByteBufferRange range)
Specified by:
withColumnRange in interface com.netflix.astyanax.query.RowSliceQuery<K,C>