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,
org.apache.cassandra.thrift.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, setDigestQuery
public final SliceQueryFilter filter
public SliceFromReadCommand(java.lang.String table, java.nio.ByteBuffer key, org.apache.cassandra.thrift.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 ReadCommand
public Row getRow(Table table)
getRow
in class ReadCommand
public ReadCommand maybeGenerateRetryCommand(RowDataResolver resolver, Row row)
maybeGenerateRetryCommand
in class ReadCommand
public void maybeTrim(Row row)
maybeTrim
in class ReadCommand
public IDiskAtomFilter filter()
filter
in class ReadCommand
protected int getOriginalRequestedCount()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 The Apache Software Foundation