Package org.apache.cassandra.db
Class SinglePartitionReadCommand.Group
- java.lang.Object
-
- org.apache.cassandra.db.SinglePartitionReadQuery.Group<SinglePartitionReadCommand>
-
- org.apache.cassandra.db.SinglePartitionReadCommand.Group
-
- All Implemented Interfaces:
ReadQuery
- Direct Known Subclasses:
SinglePartitionReadCommand.VirtualTableGroup
- Enclosing class:
- SinglePartitionReadCommand
public static class SinglePartitionReadCommand.Group extends SinglePartitionReadQuery.Group<SinglePartitionReadCommand>
Groups multiple single partition read commands.
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.db.SinglePartitionReadQuery.Group
queries
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SinglePartitionReadCommand.Groupcreate(java.util.List<SinglePartitionReadCommand> commands, DataLimits limits)static SinglePartitionReadCommand.Groupcreate(TableMetadata metadata, int nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, java.util.List<DecoratedKey> partitionKeys, ClusteringIndexFilter clusteringIndexFilter)PartitionIteratorexecute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime)Executes the query at the provided consistency level.static SinglePartitionReadCommand.Groupone(SinglePartitionReadCommand command)-
Methods inherited from class org.apache.cassandra.db.SinglePartitionReadQuery.Group
columnFilter, executeInternal, executeLocally, executionController, getPager, limits, metadata, nowInSec, rowFilter, selectsClustering, selectsFullPartition, selectsKey, toString, trackWarnings
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.db.ReadQuery
isEmpty, maybeValidateIndex
-
-
-
-
Method Detail
-
create
public static SinglePartitionReadCommand.Group create(TableMetadata metadata, int nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, java.util.List<DecoratedKey> partitionKeys, ClusteringIndexFilter clusteringIndexFilter)
-
one
public static SinglePartitionReadCommand.Group one(SinglePartitionReadCommand command)
-
create
public static SinglePartitionReadCommand.Group create(java.util.List<SinglePartitionReadCommand> commands, DataLimits limits)
-
execute
public PartitionIterator execute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime) throws RequestExecutionException
Description copied from interface:ReadQueryExecutes the query at the provided consistency level.- Parameters:
consistency- the consistency level to achieve for the query.state- client state- Returns:
- the result of the query.
- Throws:
RequestExecutionException
-
-