Modifier and Type | Method and Description |
---|---|
AbstractBounds<RowPosition> |
StatementRestrictions.getPartitionKeyBounds(QueryOptions options)
Returns the partition key bounds.
|
Modifier and Type | Class and Description |
---|---|
class |
BufferDecoratedKey |
class |
CachedHashDecoratedKey |
class |
DecoratedKey
Represents a decorated key, handy for certain operations
where just working with strings gets slow.
|
class |
NativeDecoratedKey |
class |
PreHashedDecoratedKey |
Modifier and Type | Field and Description |
---|---|
AbstractBounds<RowPosition> |
AbstractRangeCommand.keyRange |
protected AbstractBounds<RowPosition> |
DataRange.keyRange |
Modifier and Type | Method and Description |
---|---|
RowPosition |
RowPosition.RowPositionSerializer.deserialize(java.io.DataInput in,
IPartitioner p,
int version) |
static RowPosition |
RowPosition.ForKey.get(java.nio.ByteBuffer key,
IPartitioner p) |
RowPosition |
DataRange.startKey() |
RowPosition |
DataRange.stopKey() |
Modifier and Type | Method and Description |
---|---|
AbstractBounds<RowPosition> |
DataRange.keyRange() |
Modifier and Type | Method and Description |
---|---|
static int |
DecoratedKey.compareTo(IPartitioner partitioner,
java.nio.ByteBuffer key,
RowPosition position) |
int |
DecoratedKey.compareTo(RowPosition pos) |
boolean |
DataRange.contains(RowPosition pos) |
java.util.Iterator<java.util.Map.Entry<DecoratedKey,ColumnFamily>> |
Memtable.getEntryIterator(RowPosition startWith,
RowPosition stopAt) |
void |
RowPosition.RowPositionSerializer.serialize(RowPosition pos,
DataOutputPlus out,
int version) |
long |
RowPosition.RowPositionSerializer.serializedSize(RowPosition pos,
int version) |
Modifier and Type | Method and Description |
---|---|
static DataRange |
DataRange.forKeyRange(Range<RowPosition> keyRange) |
abstract AbstractRangeCommand |
AbstractRangeCommand.forSubRange(AbstractBounds<RowPosition> range) |
AbstractRangeCommand |
PagedRangeCommand.forSubRange(AbstractBounds<RowPosition> subRange) |
AbstractRangeCommand |
RangeSliceCommand.forSubRange(AbstractBounds<RowPosition> subRange) |
java.util.List<Row> |
ColumnFamilyStore.getRangeSlice(AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> rowFilter,
IDiskAtomFilter columnFilter,
int maxResults) |
java.util.List<Row> |
ColumnFamilyStore.getRangeSlice(AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> rowFilter,
IDiskAtomFilter columnFilter,
int maxResults,
long now) |
java.util.List<Row> |
ColumnFamilyStore.getRangeSlice(AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> rowFilter,
IDiskAtomFilter columnFilter,
int maxResults,
long now,
boolean countCQL3Rows,
boolean isPaging) |
ExtendedFilter |
ColumnFamilyStore.makeExtendedFilter(AbstractBounds<RowPosition> range,
IDiskAtomFilter columnFilter,
java.util.List<IndexExpression> rowFilter,
int maxResults,
boolean countCQL3Rows,
boolean isPaging,
long timestamp) |
ExtendedFilter |
ColumnFamilyStore.makeExtendedFilter(AbstractBounds<RowPosition> keyRange,
SliceQueryFilter columnRange,
Composite columnStart,
Composite columnStop,
java.util.List<IndexExpression> rowFilter,
int maxResults,
boolean countCQL3Rows,
long now)
Allows generic range paging with the slice column filter.
|
java.util.List<Row> |
ColumnFamilyStore.search(AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> clause,
IDiskAtomFilter dataFilter,
int maxResults) |
java.util.List<Row> |
ColumnFamilyStore.search(AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> clause,
IDiskAtomFilter dataFilter,
int maxResults,
long now) |
com.google.common.base.Function<View,java.util.List<SSTableReader>> |
ColumnFamilyStore.viewFilter(AbstractBounds<RowPosition> rowBounds) |
com.google.common.base.Function<View,java.util.List<SSTableReader>> |
ColumnFamilyStore.viewFilter(java.util.Collection<AbstractBounds<RowPosition>> rowBoundsCollection,
boolean includeRepaired) |
Constructor and Description |
---|
AbstractRangeCommand(java.lang.String keyspace,
java.lang.String columnFamily,
long timestamp,
AbstractBounds<RowPosition> keyRange,
IDiskAtomFilter predicate,
java.util.List<IndexExpression> rowFilter) |
DataRange(AbstractBounds<RowPosition> range,
IDiskAtomFilter columnFilter) |
PagedRangeCommand(java.lang.String keyspace,
java.lang.String columnFamily,
long timestamp,
AbstractBounds<RowPosition> keyRange,
SliceQueryFilter predicate,
Composite start,
Composite stop,
java.util.List<IndexExpression> rowFilter,
int limit,
boolean countCQL3Rows) |
Paging(AbstractBounds<RowPosition> range,
SliceQueryFilter filter,
Composite columnStart,
Composite columnFinish,
CFMetaData cfm) |
RangeSliceCommand(java.lang.String keyspace,
java.lang.String columnFamily,
long timestamp,
IDiskAtomFilter predicate,
AbstractBounds<RowPosition> range,
int maxResults) |
RangeSliceCommand(java.lang.String keyspace,
java.lang.String columnFamily,
long timestamp,
IDiskAtomFilter predicate,
AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> row_filter,
int maxResults) |
RangeSliceCommand(java.lang.String keyspace,
java.lang.String columnFamily,
long timestamp,
IDiskAtomFilter predicate,
AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> rowFilter,
int maxResults,
boolean countCQL3Rows,
boolean isPaging) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Interval<RowPosition,SSTableReader>> |
SSTableIntervalTree.buildIntervals(java.lang.Iterable<SSTableReader> sstables) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SSTableReader> |
View.sstablesInBounds(RowPosition left,
RowPosition right)
Returns the sstables that have any partition between
left and right , when both bounds are taken inclusively. |
static java.util.List<SSTableReader> |
View.sstablesInBounds(RowPosition left,
RowPosition right,
SSTableIntervalTree intervalTree) |
Modifier and Type | Class and Description |
---|---|
static class |
Token.KeyBound |
Modifier and Type | Field and Description |
---|---|
static IPartitionerDependentSerializer<AbstractBounds<RowPosition>> |
AbstractBounds.rowPositionSerializer |
Modifier and Type | Method and Description |
---|---|
static Bounds<RowPosition> |
Bounds.makeRowBounds(Token left,
Token right)
Compute a bounds of keys corresponding to a given bounds of token.
|
static Range<RowPosition> |
Range.makeRowRange(Range<Token> tokenBounds) |
static Range<RowPosition> |
Range.makeRowRange(Token left,
Token right)
Compute a range of keys corresponding to a given range of token.
|
Modifier and Type | Method and Description |
---|---|
int |
Token.KeyBound.compareTo(RowPosition pos) |
Modifier and Type | Method and Description |
---|---|
int |
IndexSummary.binarySearch(RowPosition key) |
Modifier and Type | Method and Description |
---|---|
DecoratedKey |
SSTableReader.firstKeyBeyond(RowPosition token)
Finds and returns the first key beyond a given token in this SSTable or null if no such key exists.
|
long |
SSTableReader.getIndexScanPosition(RowPosition key)
Gets the position in the index file to start scanning to find the given key (at most indexInterval keys away,
modulo downsampling of the index summary).
|
RowIndexEntry |
SSTableReader.getPosition(RowPosition key,
SSTableReader.Operator op)
Get position updating key cache and stats.
|
RowIndexEntry |
SSTableReader.getPosition(RowPosition key,
SSTableReader.Operator op,
boolean updateCacheAndStats) |
protected abstract RowIndexEntry |
SSTableReader.getPosition(RowPosition key,
SSTableReader.Operator op,
boolean updateCacheAndStats,
boolean permitMatchPastLast) |
Modifier and Type | Method and Description |
---|---|
protected RowIndexEntry |
BigTableReader.getPosition(RowPosition key,
SSTableReader.Operator op,
boolean updateCacheAndStats,
boolean permitMatchPastLast) |
Copyright © 2018 The Apache Software Foundation