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 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.

Author:
elandau

Constructor Summary
ColumnSlice(C startColumn, C endColumn)
           
ColumnSlice(Collection<C> columns)
           
 
Method Summary
 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(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 Collection<C> getColumns()

getStartColumn

public C getStartColumn()

getEndColumn

public C getEndColumn()

getReversed

public boolean getReversed()

getLimit

public int getLimit()


Copyright © 2012. All Rights Reserved.