T - public class CqlRangeImpl<T>
extends java.lang.Object
implements com.netflix.astyanax.model.ByteBufferRange
ByteBufferRange that tracks the individual components of a ColumnSlice when using a column range
specification.
Users of such queries (columns slices with column ranges) can use this class when performing using the RowQuery| Constructor and Description |
|---|
CqlRangeImpl(java.lang.String columnName,
T start,
T end,
int limit,
boolean reversed,
int fetchSize) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColumnName() |
T |
getCqlEnd() |
T |
getCqlStart() |
java.nio.ByteBuffer |
getEnd() |
int |
getFetchSize() |
int |
getLimit() |
java.nio.ByteBuffer |
getStart() |
boolean |
isReversed() |
void |
setFetchSize(int size) |
public java.nio.ByteBuffer getStart()
getStart in interface com.netflix.astyanax.model.ByteBufferRangepublic java.nio.ByteBuffer getEnd()
getEnd in interface com.netflix.astyanax.model.ByteBufferRangepublic java.lang.String getColumnName()
public T getCqlStart()
public T getCqlEnd()
public boolean isReversed()
isReversed in interface com.netflix.astyanax.model.ByteBufferRangepublic int getLimit()
getLimit in interface com.netflix.astyanax.model.ByteBufferRangepublic int getFetchSize()
public void setFetchSize(int size)