Package | Description |
---|---|
org.apache.cassandra.db | |
org.apache.cassandra.dht | |
org.apache.cassandra.io.sstable |
Modifier and Type | Class and Description |
---|---|
class |
BufferDecoratedKey |
class |
DecoratedKey
Represents a decorated key, handy for certain operations
where just working with strings gets slow.
|
class |
NativeDecoratedKey |
Modifier and Type | Field and Description |
---|---|
AbstractBounds<RowPosition> |
AbstractRangeCommand.keyRange |
Modifier and Type | Method and Description |
---|---|
RowPosition |
RowPosition.RowPositionSerializer.deserialize(java.io.DataInput in) |
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) |
long |
RowPosition.RowPositionSerializer.serializedSize(RowPosition pos,
TypeSizes typeSizes) |
Modifier and Type | Method and Description |
---|---|
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) |
java.util.List<SSTableReader> |
DataTracker.View.sstablesInBounds(AbstractBounds<RowPosition> rowBounds) |
com.google.common.base.Function<DataTracker.View,java.util.List<SSTableReader>> |
ColumnFamilyStore.viewFilter(AbstractBounds<RowPosition> rowBounds) |
com.google.common.base.Function<DataTracker.View,java.util.List<SSTableReader>> |
ColumnFamilyStore.viewFilter(java.util.Collection<AbstractBounds<RowPosition>> rowBoundsCollection) |
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.Paging(AbstractBounds<RowPosition> range,
SliceQueryFilter filter,
Composite columnStart,
Composite columnFinish,
CellNameType comparator) |
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) |
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 | Class and Description |
---|---|
static class |
Token.KeyBound |
Modifier and Type | Method and Description |
---|---|
static Bounds<RowPosition> |
Bounds.makeRowBounds(Token left,
Token right,
IPartitioner partitioner)
Compute a bounds of keys corresponding to a given bounds of token.
|
static Range<RowPosition> |
Range.makeRowRange(Token left,
Token right,
IPartitioner partitioner)
Compute a range of keys corresponding to a given range of token.
|
abstract AbstractBounds<RowPosition> |
AbstractBounds.toRowBounds()
Transform this abstract bounds to equivalent covering bounds of row positions.
|
AbstractBounds<RowPosition> |
Bounds.toRowBounds() |
AbstractBounds<RowPosition> |
ExcludingBounds.toRowBounds() |
AbstractBounds<RowPosition> |
IncludingExcludingBounds.toRowBounds() |
AbstractBounds<RowPosition> |
Range.toRowBounds() |
Modifier and Type | Method and Description |
---|---|
int |
Token.KeyBound.compareTo(RowPosition pos) |
Modifier and Type | Method and Description |
---|---|
int |
IndexSummary.binarySearch(RowPosition key) |
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) |
Copyright © 2014 The Apache Software Foundation