org.apache.cassandra.db
Class ReadCommand
java.lang.Object
org.apache.cassandra.db.ReadCommand
- Direct Known Subclasses:
- ColumnReadCommand, ColumnsSinceReadCommand, RowReadCommand, SliceByNamesReadCommand, SliceReadCommand
public abstract class ReadCommand
- extends java.lang.Object
Constructor Summary |
protected |
ReadCommand(java.lang.String table,
java.lang.String key,
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_ROW
public static final byte CMD_TYPE_GET_ROW
- See Also:
- Constant Field Values
CMD_TYPE_GET_COLUMN
public static final byte CMD_TYPE_GET_COLUMN
- 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_COLUMNS_SINCE
public static final byte CMD_TYPE_GET_COLUMNS_SINCE
- See Also:
- Constant Field Values
CMD_TYPE_GET_SLICE
public static final byte CMD_TYPE_GET_SLICE
- See Also:
- Constant Field Values
EMPTY_CF
public static final java.lang.String EMPTY_CF
- See Also:
- Constant Field Values
table
public final java.lang.String table
key
public final java.lang.String key
commandType
protected final byte commandType
ReadCommand
protected ReadCommand(java.lang.String table,
java.lang.String key,
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 abstract java.lang.String getColumnFamilyName()
copy
public abstract ReadCommand copy()
getRow
public abstract Row getRow(Table table)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2009 The Apache Software Foundation