public class SinglePartitionSliceCommand extends SinglePartitionReadCommand<ClusteringIndexSliceFilter>
SinglePartitionReadCommand.Group
ReadCommand.Kind, ReadCommand.SelectionDeserializer
selectionDeserializer
legacyPagedRangeCommandSerializer, legacyRangeSliceCommandSerializer, legacyReadCommandSerializer, logger, rangeSliceSerializer, serializer
Constructor and Description |
---|
SinglePartitionSliceCommand(boolean isDigest,
boolean isForThrift,
CFMetaData metadata,
int nowInSec,
ColumnFilter columnFilter,
RowFilter rowFilter,
DataLimits limits,
DecoratedKey partitionKey,
ClusteringIndexSliceFilter clusteringIndexFilter) |
SinglePartitionSliceCommand(CFMetaData metadata,
int nowInSec,
ColumnFilter columnFilter,
RowFilter rowFilter,
DataLimits limits,
DecoratedKey partitionKey,
ClusteringIndexSliceFilter clusteringIndexFilter) |
Modifier and Type | Method and Description |
---|---|
SinglePartitionSliceCommand |
copy()
Returns a copy of this command.
|
static SinglePartitionReadCommand |
create(CFMetaData metadata,
int nowInSec,
java.nio.ByteBuffer key,
Slices slices)
Creates a new single partition slice command for the provided slices.
|
static SinglePartitionReadCommand |
create(CFMetaData metadata,
int nowInSec,
DecoratedKey key,
Slice slice)
Creates a new single partition slice command for the provided single slice.
|
static SinglePartitionReadCommand |
create(CFMetaData metadata,
int nowInSec,
DecoratedKey key,
Slices slices)
Creates a new single partition slice command for the provided slices.
|
protected int |
oldestUnrepairedTombstone() |
protected UnfilteredRowIterator |
queryMemtableAndDiskInternal(ColumnFamilyStore cfs,
boolean copyOnHeap) |
appendCQLWhereClause, clusteringIndexFilter, clusteringIndexFilter, create, create, create, createMessage, execute, forPaging, fullPartitionRead, fullPartitionRead, getPager, getTimeout, partitionKey, queryMemtableAndDisk, queryStorage, recordLatency, selectionSerializedSize, selects, serializeSelection, toString
columnFilter, createResponse, executeInternal, executeLocally, getIndex, isDigestQuery, isForThrift, limits, metadata, nowInSec, rowFilter, setIsDigestQuery, startOrderGroup, toCQLString, withoutPurgeableTombstones
public SinglePartitionSliceCommand(boolean isDigest, boolean isForThrift, CFMetaData metadata, int nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DecoratedKey partitionKey, ClusteringIndexSliceFilter clusteringIndexFilter)
public SinglePartitionSliceCommand(CFMetaData metadata, int nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DecoratedKey partitionKey, ClusteringIndexSliceFilter clusteringIndexFilter)
public static SinglePartitionReadCommand create(CFMetaData metadata, int nowInSec, DecoratedKey key, Slice slice)
metadata
- the table to query.nowInSec
- the time in seconds to use are "now" for this query.key
- the partition key for the partition to query.slice
- the slice of rows to query.slice
in key
. The returned query will
query every columns for the table (without limit or row filtering) and be in forward order.public static SinglePartitionReadCommand create(CFMetaData metadata, int nowInSec, DecoratedKey key, Slices slices)
metadata
- the table to query.nowInSec
- the time in seconds to use are "now" for this query.key
- the partition key for the partition to query.slices
- the slices of rows to query.slices
in key
. The returned query will
query every columns for the table (without limit or row filtering) and be in forward order.public static SinglePartitionReadCommand create(CFMetaData metadata, int nowInSec, java.nio.ByteBuffer key, Slices slices)
metadata
- the table to query.nowInSec
- the time in seconds to use are "now" for this query.key
- the partition key for the partition to query.slices
- the slices of rows to query.slices
in key
. The returned query will
query every columns for the table (without limit or row filtering) and be in forward order.public SinglePartitionSliceCommand copy()
ReadCommand
copy
in class ReadCommand
protected int oldestUnrepairedTombstone()
oldestUnrepairedTombstone
in class ReadCommand
protected UnfilteredRowIterator queryMemtableAndDiskInternal(ColumnFamilyStore cfs, boolean copyOnHeap)
queryMemtableAndDiskInternal
in class SinglePartitionReadCommand<ClusteringIndexSliceFilter>
Copyright © 2015 The Apache Software Foundation