Modifier and Type | Class and Description |
---|---|
class |
DecoratedKey
Represents a decorated key, handy for certain operations
where just working with strings gets slow.
|
Modifier and Type | Field and Description |
---|---|
AbstractBounds<RowPosition> |
IndexScanCommand.range |
AbstractBounds<RowPosition> |
RangeSliceCommand.range |
Modifier and Type | Method and Description |
---|---|
RowPosition |
RowPosition.RowPositionSerializer.deserialize(java.io.DataInput dis) |
static RowPosition |
RowPosition.forKey(java.nio.ByteBuffer key,
IPartitioner p) |
Modifier and Type | Method and Description |
---|---|
int |
DecoratedKey.compareTo(RowPosition pos) |
java.util.Iterator<java.util.Map.Entry<DecoratedKey,ColumnFamily>> |
Memtable.getEntryIterator(RowPosition startWith,
RowPosition stopAt) |
static CloseableIterator<Row> |
RowIteratorFactory.getIterator(java.lang.Iterable<Memtable> memtables,
java.util.Collection<SSTableReader> sstables,
RowPosition startWith,
RowPosition stopAt,
QueryFilter filter,
ColumnFamilyStore cfs)
Get a row iterator over the provided memtables and sstables, between the provided keys
and filtered by the queryfilter.
|
void |
RowPosition.RowPositionSerializer.serialize(RowPosition pos,
java.io.DataOutput dos) |
long |
RowPosition.RowPositionSerializer.serializedSize(RowPosition pos,
TypeSizes typeSizes) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Row> |
ColumnFamilyStore.getRangeSlice(java.nio.ByteBuffer superColumn,
AbstractBounds<RowPosition> range,
int maxResults,
IDiskAtomFilter columnFilter,
java.util.List<IndexExpression> rowFilter) |
java.util.List<Row> |
ColumnFamilyStore.getRangeSlice(java.nio.ByteBuffer superColumn,
AbstractBounds<RowPosition> range,
int maxResults,
IDiskAtomFilter columnFilter,
java.util.List<IndexExpression> rowFilter,
boolean countCQL3Rows,
boolean isPaging) |
ColumnFamilyStore.AbstractScanIterator |
ColumnFamilyStore.getSequentialIterator(java.nio.ByteBuffer superColumn,
AbstractBounds<RowPosition> range,
IDiskAtomFilter columnFilter)
Iterate over a range of rows and columns from memtables/sstables.
|
ColumnFamilyStore.ViewFragment |
ColumnFamilyStore.markReferenced(AbstractBounds<RowPosition> rowBounds) |
ColumnFamilyStore.ViewFragment |
ColumnFamilyStore.markReferenced(java.util.Collection<AbstractBounds<RowPosition>> rowBoundsCollection) |
java.util.List<Row> |
ColumnFamilyStore.search(java.util.List<IndexExpression> clause,
AbstractBounds<RowPosition> range,
int maxResults,
IDiskAtomFilter dataFilter) |
java.util.List<Row> |
ColumnFamilyStore.search(java.util.List<IndexExpression> clause,
AbstractBounds<RowPosition> range,
int maxResults,
IDiskAtomFilter dataFilter,
boolean countCQL3Rows) |
Constructor and Description |
---|
IndexScanCommand(java.lang.String keyspace,
java.lang.String column_family,
IndexClause index_clause,
SlicePredicate predicate,
AbstractBounds<RowPosition> range) |
RangeSliceCommand(java.lang.String keyspace,
ColumnParent column_parent,
IDiskAtomFilter predicate,
AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> row_filter,
int maxResults) |
RangeSliceCommand(java.lang.String keyspace,
java.lang.String column_family,
java.nio.ByteBuffer super_column,
IDiskAtomFilter predicate,
AbstractBounds<RowPosition> range,
int maxResults) |
RangeSliceCommand(java.lang.String keyspace,
java.lang.String column_family,
java.nio.ByteBuffer super_column,
IDiskAtomFilter predicate,
AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> row_filter,
int maxResults) |
RangeSliceCommand(java.lang.String keyspace,
java.lang.String column_family,
java.nio.ByteBuffer super_column,
IDiskAtomFilter predicate,
AbstractBounds<RowPosition> range,
java.util.List<IndexExpression> row_filter,
int maxResults,
boolean countCQL3Rows,
boolean isPaging) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Row> |
SecondaryIndexManager.search(java.util.List<IndexExpression> clause,
AbstractBounds<RowPosition> range,
int maxResults,
IDiskAtomFilter dataFilter,
boolean countCQL3Rows)
Performs a search across a number of column indexes
TODO: add support for querying across index types
|
abstract java.util.List<Row> |
SecondaryIndexSearcher.search(java.util.List<IndexExpression> clause,
AbstractBounds<RowPosition> range,
int maxResults,
IDiskAtomFilter dataFilter,
boolean countCQL3Rows) |
Modifier and Type | Method and Description |
---|---|
ColumnFamilyStore.AbstractScanIterator |
CompositesSearcher.getIndexedIterator(AbstractBounds<RowPosition> range,
ExtendedFilter filter) |
java.util.List<Row> |
CompositesSearcher.search(java.util.List<IndexExpression> clause,
AbstractBounds<RowPosition> range,
int maxResults,
IDiskAtomFilter dataFilter,
boolean countCQL3Rows) |
Modifier and Type | Method and Description |
---|---|
ColumnFamilyStore.AbstractScanIterator |
KeysSearcher.getIndexedIterator(AbstractBounds<RowPosition> range,
ExtendedFilter filter) |
java.util.List<Row> |
KeysSearcher.search(java.util.List<IndexExpression> clause,
AbstractBounds<RowPosition> range,
int maxResults,
IDiskAtomFilter dataFilter,
boolean countCQL3Rows) |
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) |
long |
SSTableReader.getIndexScanPosition(RowPosition key)
get the position in the index file to start scanning to find the given key (at most indexInterval keys away)
|
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) |
void |
SSTableBoundedScanner.seekTo(RowPosition seekKey) |
void |
SSTableScanner.seekTo(RowPosition seekKey) |
Copyright © 2014 The Apache Software Foundation