public class SliceFromReadCommand extends ReadCommand
| Modifier and Type | Field and Description |
|---|---|
SliceQueryFilter |
filter |
CMD_TYPE_GET_SLICE, CMD_TYPE_GET_SLICE_BY_NAMES, commandType, key, queryPath, serializer, table| Constructor and Description |
|---|
SliceFromReadCommand(java.lang.String table,
java.nio.ByteBuffer key,
ColumnParent column_parent,
java.nio.ByteBuffer start,
java.nio.ByteBuffer finish,
boolean reversed,
int count) |
SliceFromReadCommand(java.lang.String table,
java.nio.ByteBuffer key,
QueryPath path,
java.nio.ByteBuffer start,
java.nio.ByteBuffer finish,
boolean reversed,
int count) |
SliceFromReadCommand(java.lang.String table,
java.nio.ByteBuffer key,
QueryPath path,
SliceQueryFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
ReadCommand |
copy() |
IDiskAtomFilter |
filter() |
protected int |
getOriginalRequestedCount()
The original number of columns requested by the user.
|
Row |
getRow(Table table) |
ReadCommand |
maybeGenerateRetryCommand(RowDataResolver resolver,
Row row) |
void |
maybeTrim(Row row) |
java.lang.String |
toString() |
createMessage, getColumnFamilyName, getComparator, getKeyspace, getTimeout, isDigestQuery, setDigestQuerypublic final SliceQueryFilter filter
public SliceFromReadCommand(java.lang.String table,
java.nio.ByteBuffer key,
ColumnParent column_parent,
java.nio.ByteBuffer start,
java.nio.ByteBuffer finish,
boolean reversed,
int count)
public SliceFromReadCommand(java.lang.String table,
java.nio.ByteBuffer key,
QueryPath path,
java.nio.ByteBuffer start,
java.nio.ByteBuffer finish,
boolean reversed,
int count)
public SliceFromReadCommand(java.lang.String table,
java.nio.ByteBuffer key,
QueryPath path,
SliceQueryFilter filter)
public ReadCommand copy()
copy in class ReadCommandpublic Row getRow(Table table)
getRow in class ReadCommandpublic ReadCommand maybeGenerateRetryCommand(RowDataResolver resolver, Row row)
maybeGenerateRetryCommand in class ReadCommandpublic void maybeTrim(Row row)
maybeTrim in class ReadCommandpublic IDiskAtomFilter filter()
filter in class ReadCommandprotected int getOriginalRequestedCount()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 The Apache Software Foundation