org.apache.cassandra.db
Class SliceByNamesReadCommand

java.lang.Object
  extended by org.apache.cassandra.db.ReadCommand
      extended by org.apache.cassandra.db.SliceByNamesReadCommand
All Implemented Interfaces:
IReadCommand

public class SliceByNamesReadCommand
extends ReadCommand


Field Summary
 NamesQueryFilter filter
           
 
Fields inherited from class org.apache.cassandra.db.ReadCommand
CMD_TYPE_GET_SLICE, CMD_TYPE_GET_SLICE_BY_NAMES, commandType, key, queryPath, serializer, table
 
Constructor Summary
SliceByNamesReadCommand(java.lang.String table, java.nio.ByteBuffer key, org.apache.cassandra.thrift.ColumnParent column_parent, java.util.Collection<java.nio.ByteBuffer> columnNames)
           
SliceByNamesReadCommand(java.lang.String table, java.nio.ByteBuffer key, QueryPath path, java.util.Collection<java.nio.ByteBuffer> columnNames)
           
SliceByNamesReadCommand(java.lang.String table, java.nio.ByteBuffer key, QueryPath path, NamesQueryFilter filter)
           
 
Method Summary
 ReadCommand copy()
           
 IDiskAtomFilter filter()
           
 Row getRow(Table table)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.cassandra.db.ReadCommand
createMessage, getColumnFamilyName, getComparator, getKeyspace, getTimeout, isDigestQuery, maybeGenerateRetryCommand, maybeTrim, setDigestQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

filter

public final NamesQueryFilter filter
Constructor Detail

SliceByNamesReadCommand

public SliceByNamesReadCommand(java.lang.String table,
                               java.nio.ByteBuffer key,
                               org.apache.cassandra.thrift.ColumnParent column_parent,
                               java.util.Collection<java.nio.ByteBuffer> columnNames)

SliceByNamesReadCommand

public SliceByNamesReadCommand(java.lang.String table,
                               java.nio.ByteBuffer key,
                               QueryPath path,
                               java.util.Collection<java.nio.ByteBuffer> columnNames)

SliceByNamesReadCommand

public SliceByNamesReadCommand(java.lang.String table,
                               java.nio.ByteBuffer key,
                               QueryPath path,
                               NamesQueryFilter filter)
Method Detail

copy

public ReadCommand copy()
Specified by:
copy in class ReadCommand

getRow

public Row getRow(Table table)
           throws java.io.IOException
Specified by:
getRow in class ReadCommand
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

filter

public IDiskAtomFilter filter()
Specified by:
filter in class ReadCommand


Copyright © 2013 The Apache Software Foundation