com.netflix.astyanax.model
Class ColumnSlice<C>

java.lang.Object
  extended by com.netflix.astyanax.model.ColumnSlice<C>
Type Parameters:
C -

public class ColumnSlice<C>
extends java.lang.Object

Definition for a sub set of slices. A subset can either be a fixed set of columns a range of ordered columns. The slice defines the sub set of columns at the ColumnPath position within the row.


Constructor Summary
ColumnSlice(C startColumn, C endColumn)
           
ColumnSlice(java.util.Collection<C> columns)
           
 
Method Summary
 java.util.Collection<C> getColumns()
           
 C getEndColumn()
           
 int getLimit()
           
 boolean getReversed()
           
 C getStartColumn()
           
 ColumnSlice<C> setLimit(int limit)
           
 ColumnSlice<C> setReversed(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnSlice

public ColumnSlice(java.util.Collection<C> columns)

ColumnSlice

public ColumnSlice(C startColumn,
                   C endColumn)
Method Detail

setLimit

public ColumnSlice<C> setLimit(int limit)

setReversed

public ColumnSlice<C> setReversed(boolean value)

getColumns

public java.util.Collection<C> getColumns()

getStartColumn

public C getStartColumn()

getEndColumn

public C getEndColumn()

getReversed

public boolean getReversed()

getLimit

public int getLimit()