public abstract class ReadCommand extends java.lang.Object implements IReadCommand
Modifier and Type | Field and Description |
---|---|
static byte |
CMD_TYPE_GET_SLICE |
static byte |
CMD_TYPE_GET_SLICE_BY_NAMES |
protected byte |
commandType |
java.nio.ByteBuffer |
key |
QueryPath |
queryPath |
static org.apache.cassandra.db.ReadCommandSerializer |
serializer |
java.lang.String |
table |
Modifier | Constructor and Description |
---|---|
protected |
ReadCommand(java.lang.String table,
java.nio.ByteBuffer key,
QueryPath queryPath,
byte cmdType) |
Modifier and Type | Method and Description |
---|---|
abstract ReadCommand |
copy() |
MessageOut<ReadCommand> |
createMessage() |
abstract IDiskAtomFilter |
filter() |
java.lang.String |
getColumnFamilyName() |
protected AbstractType<?> |
getComparator() |
java.lang.String |
getKeyspace() |
abstract Row |
getRow(Table table) |
long |
getTimeout() |
boolean |
isDigestQuery() |
ReadCommand |
maybeGenerateRetryCommand(RowDataResolver resolver,
Row row) |
void |
maybeTrim(Row row) |
void |
setDigestQuery(boolean isDigestQuery) |
public static final byte CMD_TYPE_GET_SLICE_BY_NAMES
public static final byte CMD_TYPE_GET_SLICE
public static final org.apache.cassandra.db.ReadCommandSerializer serializer
public final QueryPath queryPath
public final java.lang.String table
public final java.nio.ByteBuffer key
protected final byte commandType
protected ReadCommand(java.lang.String table, java.nio.ByteBuffer key, QueryPath queryPath, byte cmdType)
public MessageOut<ReadCommand> createMessage()
public boolean isDigestQuery()
public void setDigestQuery(boolean isDigestQuery)
public java.lang.String getColumnFamilyName()
public abstract ReadCommand copy()
public abstract IDiskAtomFilter filter()
protected AbstractType<?> getComparator()
public java.lang.String getKeyspace()
getKeyspace
in interface IReadCommand
public ReadCommand maybeGenerateRetryCommand(RowDataResolver resolver, Row row)
public void maybeTrim(Row row)
public long getTimeout()
getTimeout
in interface IReadCommand
Copyright © 2013 The Apache Software Foundation