Uses of Class
org.apache.cassandra.db.DataRange
-
-
Uses of DataRange in org.apache.cassandra.db
Subclasses of DataRange in org.apache.cassandra.db Modifier and Type Class Description static class
DataRange.Paging
SpecializedDataRange
used for the paging case.Fields in org.apache.cassandra.db declared as DataRange Modifier and Type Field Description protected DataRange
PartitionRangeReadCommand. dataRange
Methods in org.apache.cassandra.db that return DataRange Modifier and Type Method Description static DataRange
DataRange. allData(IPartitioner partitioner)
Creates aDataRange
to query all data (over the whole ring).static DataRange
DataRange. allData(IPartitioner partitioner, ClusteringIndexFilter filter)
Creates aDataRange
to query all partitions of the ring using the provided clustering index filter.DataRange
PartitionRangeReadCommand. dataRange()
DataRange
PartitionRangeReadQuery. dataRange()
DataRange
DataRange.Serializer. deserialize(DataInputPlus in, int version, TableMetadata metadata)
static DataRange
DataRange. forKeyRange(Range<PartitionPosition> keyRange)
Creates aDataRange
to query all rows over the provided key range.DataRange
DataRange. forPaging(AbstractBounds<PartitionPosition> range, ClusteringComparator comparator, Clustering<?> lastReturned, boolean inclusive)
Returns a newDataRange
for use when pagingthis
range.DataRange
DataRange. forSubRange(AbstractBounds<PartitionPosition> range)
Returns a newDataRange
equivalent tothis
one but restricted to the provided sub-range.DataRange
DataRange.Paging. forSubRange(AbstractBounds<PartitionPosition> range)
static DataRange
DataRange. forTokenRange(Range<Token> tokenRange)
Creates aDataRange
to query all rows over the provided token range.Methods in org.apache.cassandra.db with parameters of type DataRange Modifier and Type Method Description static PartitionRangeReadCommand
PartitionRangeReadCommand. create(TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DataRange dataRange)
static ReadQuery
PartitionRangeReadQuery. create(TableMetadata table, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DataRange dataRange)
void
DataRange.Serializer. serialize(DataRange range, DataOutputPlus out, int version, TableMetadata metadata)
long
DataRange.Serializer. serializedSize(DataRange range, int version, TableMetadata metadata)
PartitionRangeReadCommand
PartitionRangeReadCommand. withUpdatedLimitsAndDataRange(DataLimits newLimits, DataRange newDataRange)
PartitionRangeReadQuery
PartitionRangeReadQuery. withUpdatedLimitsAndDataRange(DataLimits newLimits, DataRange newDataRange)
Creates a newPartitionRangeReadQuery
with the updated limits and data range. -
Uses of DataRange in org.apache.cassandra.db.memtable
Methods in org.apache.cassandra.db.memtable with parameters of type DataRange Modifier and Type Method Description ShardedSkipListMemtable.MemtableUnfilteredPartitionIterator
ShardedSkipListMemtable. partitionIterator(ColumnFilter columnFilter, DataRange dataRange, SSTableReadsListener readsListener)
org.apache.cassandra.db.memtable.SkipListMemtable.MemtableUnfilteredPartitionIterator
SkipListMemtable. partitionIterator(ColumnFilter columnFilter, DataRange dataRange, SSTableReadsListener readsListener)
org.apache.cassandra.db.memtable.TrieMemtable.MemtableUnfilteredPartitionIterator
TrieMemtable. partitionIterator(ColumnFilter columnFilter, DataRange dataRange, SSTableReadsListener readsListener)
Constructors in org.apache.cassandra.db.memtable with parameters of type DataRange Constructor Description MemtableUnfilteredPartitionIterator(TableMetadata metadata, java.util.Iterator<AtomicBTreePartition> iterator, ColumnFilter columnFilter, DataRange dataRange)
-
Uses of DataRange in org.apache.cassandra.db.rows
Methods in org.apache.cassandra.db.rows with parameters of type DataRange Modifier and Type Method Description UnfilteredPartitionIterator
UnfilteredSource. partitionIterator(ColumnFilter columnFilter, DataRange dataRange, SSTableReadsListener listener)
Returns a partition iterator for the given data range. -
Uses of DataRange in org.apache.cassandra.db.virtual
Methods in org.apache.cassandra.db.virtual with parameters of type DataRange Modifier and Type Method Description java.util.Iterator<AbstractVirtualTable.Partition>
AbstractVirtualTable.AbstractDataSet. getPartitions(DataRange dataRange)
java.util.Iterator<AbstractVirtualTable.Partition>
AbstractVirtualTable.DataSet. getPartitions(DataRange range)
UnfilteredPartitionIterator
AbstractVirtualTable. select(DataRange dataRange, ColumnFilter columnFilter)
UnfilteredPartitionIterator
VirtualTable. select(DataRange dataRange, ColumnFilter columnFilter)
Selects the rows from a range of partitions. -
Uses of DataRange in org.apache.cassandra.index.sai.plan
Methods in org.apache.cassandra.index.sai.plan that return types with arguments of type DataRange Modifier and Type Method Description java.util.List<DataRange>
QueryController. dataRanges()
-
Uses of DataRange in org.apache.cassandra.index.sasi.plan
Methods in org.apache.cassandra.index.sasi.plan that return DataRange Modifier and Type Method Description DataRange
QueryController. dataRange()
-
Uses of DataRange in org.apache.cassandra.io.sstable.format
Fields in org.apache.cassandra.io.sstable.format declared as DataRange Modifier and Type Field Description protected DataRange
SSTableScanner. dataRange
Methods in org.apache.cassandra.io.sstable.format with parameters of type DataRange Modifier and Type Method Description protected static java.util.List<AbstractBounds<PartitionPosition>>
SSTableScanner. makeBounds(SSTableReader sstable, DataRange dataRange)
Constructors in org.apache.cassandra.io.sstable.format with parameters of type DataRange Constructor Description SSTableScanner(S sstable, ColumnFilter columns, DataRange dataRange, java.util.Iterator<AbstractBounds<PartitionPosition>> rangeIterator, SSTableReadsListener listener)
-
Uses of DataRange in org.apache.cassandra.io.sstable.format.big
Methods in org.apache.cassandra.io.sstable.format.big with parameters of type DataRange Modifier and Type Method Description static ISSTableScanner
BigTableScanner. getScanner(BigTableReader sstable, ColumnFilter columns, DataRange dataRange, SSTableReadsListener listener)
ISSTableScanner
BigTableReader. partitionIterator(ColumnFilter columns, DataRange dataRange, SSTableReadsListener listener)
-
Uses of DataRange in org.apache.cassandra.io.sstable.format.bti
Methods in org.apache.cassandra.io.sstable.format.bti with parameters of type DataRange Modifier and Type Method Description static BtiTableScanner
BtiTableScanner. getScanner(BtiTableReader sstable, ColumnFilter columns, DataRange dataRange, SSTableReadsListener listener)
UnfilteredPartitionIterator
BtiTableReader. partitionIterator(ColumnFilter columnFilter, DataRange dataRange, SSTableReadsListener listener)
-