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.Group
create(java.util.List<SinglePartitionReadCommand> commands, DataLimits limits)
static SinglePartitionReadCommand.Group
create(TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, java.util.List<DecoratedKey> partitionKeys, ClusteringIndexFilter clusteringIndexFilter)
PartitionIterator
execute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime)
Executes the query at the provided consistency level.static SinglePartitionReadCommand.Group
one(SinglePartitionReadCommand command)
-
Methods inherited from class org.apache.cassandra.db.SinglePartitionReadQuery.Group
columnFilter, executeInternal, executeLocally, executionController, getPager, limits, maybeValidateIndex, metadata, nowInSec, rowFilter, selectsClustering, selectsFullPartition, selectsKey, toString, trackWarnings
-
-
-
-
Method Detail
-
create
public static SinglePartitionReadCommand.Group create(TableMetadata metadata, long 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:ReadQuery
Executes the query at the provided consistency level.- Parameters:
consistency
- the consistency level to achieve for the query.state
- client staterequestTime
- request enqueue / and start times- Returns:
- the result of the query.
- Throws:
RequestExecutionException
-
-