org.apache.cassandra.db
Class ReadCommand
java.lang.Object
org.apache.cassandra.db.ReadCommand
- Direct Known Subclasses:
- SliceByNamesReadCommand, SliceFromReadCommand
public abstract class ReadCommand
- extends java.lang.Object
Constructor Summary |
protected |
ReadCommand(java.lang.String table,
java.nio.ByteBuffer key,
QueryPath queryPath,
byte cmdType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DO_REPAIR
public static final java.lang.String DO_REPAIR
- See Also:
- Constant Field Values
CMD_TYPE_GET_SLICE_BY_NAMES
public static final byte CMD_TYPE_GET_SLICE_BY_NAMES
- See Also:
- Constant Field Values
CMD_TYPE_GET_SLICE
public static final byte CMD_TYPE_GET_SLICE
- See Also:
- Constant Field Values
queryPath
public final QueryPath queryPath
table
public final java.lang.String table
key
public final java.nio.ByteBuffer key
commandType
protected final byte commandType
ReadCommand
protected ReadCommand(java.lang.String table,
java.nio.ByteBuffer key,
QueryPath queryPath,
byte cmdType)
serializer
public static org.apache.cassandra.db.ReadCommandSerializer serializer()
makeReadMessage
public Message makeReadMessage()
throws java.io.IOException
- Throws:
java.io.IOException
isDigestQuery
public boolean isDigestQuery()
setDigestQuery
public void setDigestQuery(boolean isDigestQuery)
getColumnFamilyName
public java.lang.String getColumnFamilyName()
copy
public abstract ReadCommand copy()
getRow
public abstract Row getRow(Table table)
throws java.io.IOException
- Throws:
java.io.IOException
getComparator
protected AbstractType getComparator()
Copyright © 2010 The Apache Software Foundation