Uses of Class
org.apache.cassandra.index.sai.QueryContext
Packages that use QueryContext
Package
Description
-
Uses of QueryContext in org.apache.cassandra.index.sai.disk
Methods in org.apache.cassandra.index.sai.disk with parameters of type QueryContextModifier and TypeMethodDescriptionstatic IndexSearchResultIteratorIndexSearchResultIterator.build(List<KeyRangeIterator> sstableIntersections, List<KeyRangeIterator> memtableResults, Set<SSTableIndex> referencedIndexes, QueryContext queryContext, Runnable onClose) static IndexSearchResultIteratorIndexSearchResultIterator.build(Expression expression, Collection<MemtableIndex> memtableIndexes, Collection<SSTableIndex> sstableIndexes, AbstractBounds<PartitionPosition> keyRange, QueryContext queryContext, boolean includeMemtables, Runnable onClose) Builds a newIndexSearchResultIteratorthat wraps aKeyRangeUnionIteratorover the results of searching theMemtableIndexes and theSSTableIndexes.static IndexSearchResultIteratorIndexSearchResultIterator.build(QueryViewBuilder.QueryExpressionView queryView, AbstractBounds<PartitionPosition> keyRange, QueryContext queryContext, boolean includeMemtables, Runnable onClose) Builds a newIndexSearchResultIteratorthat wraps aKeyRangeUnionIteratorover the results of searching theQueryViewBuilder.QueryExpressionView.EmptyIndex.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) abstract List<CloseableIterator<PrimaryKeyWithScore>>SSTableIndex.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) EmptyIndex.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) abstract List<CloseableIterator<PrimaryKeyWithScore>>SSTableIndex.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) EmptyIndex.search(Expression expression, AbstractBounds<PartitionPosition> keyRange, QueryContext context) abstract List<KeyRangeIterator>SSTableIndex.search(Expression expression, AbstractBounds<PartitionPosition> keyRange, QueryContext context) Perform a search on the index for a single expression and keyRange. -
Uses of QueryContext in org.apache.cassandra.index.sai.disk.v1
Methods in org.apache.cassandra.index.sai.disk.v1 with parameters of type QueryContextModifier and TypeMethodDescriptionV1SSTableIndex.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) V1SSTableIndex.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) V1SSTableIndex.search(Expression expression, AbstractBounds<PartitionPosition> keyRange, QueryContext context) -
Uses of QueryContext in org.apache.cassandra.index.sai.disk.v1.bbtree
Methods in org.apache.cassandra.index.sai.disk.v1.bbtree with parameters of type QueryContextModifier and TypeMethodDescriptionBlockBalancedTreeReader.intersect(BlockBalancedTreeReader.IntersectVisitor visitor, QueryEventListener.BalancedTreeEventListener listener, QueryContext context) -
Uses of QueryContext in org.apache.cassandra.index.sai.disk.v1.segment
Fields in org.apache.cassandra.index.sai.disk.v1.segment declared as QueryContextMethods in org.apache.cassandra.index.sai.disk.v1.segment with parameters of type QueryContextModifier and TypeMethodDescriptionLiteralIndexSegmentTermsReader.exactMatch(ByteComparable term, QueryEventListener.TrieIndexEventListener perQueryEventListener, QueryContext context) IndexSegmentSearcher.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) Order the rows by the given expression.Segment.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) Order the on-disk index synchronously and produce an iterator in score orderVectorIndexSegmentSearcher.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) Segment.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) default CloseableIterator<PrimaryKeyWithScore>SegmentOrdering.orderResultsBy(QueryContext queryContext, List<PrimaryKey> results, Expression orderer) Reorder, limit, and put back into original order the results from a single sstableVectorIndexSegmentSearcher.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) abstract KeyRangeIteratorIndexSegmentSearcher.search(Expression expression, AbstractBounds<PartitionPosition> keyRange, QueryContext queryContext) Search on-disk index synchronously.LiteralIndexSegmentSearcher.search(Expression expression, AbstractBounds<PartitionPosition> keyRange, QueryContext queryContext) NumericIndexSegmentSearcher.search(Expression exp, AbstractBounds<PartitionPosition> keyRange, QueryContext context) Segment.search(Expression expression, AbstractBounds<PartitionPosition> keyRange, QueryContext context) Search on-disk index synchronouslyVectorIndexSegmentSearcher.search(Expression expression, AbstractBounds<PartitionPosition> keyRange, QueryContext queryContext) Constructors in org.apache.cassandra.index.sai.disk.v1.segment with parameters of type QueryContextModifierConstructorDescriptionIndexSegmentSearcherContext(PrimaryKey minimumKey, PrimaryKey maximumKey, long segmentRowIdOffset, QueryContext context, PeekablePostingList postingList) -
Uses of QueryContext in org.apache.cassandra.index.sai.memory
Methods in org.apache.cassandra.index.sai.memory with parameters of type QueryContextModifier and TypeMethodDescriptionMemtableIndex.orderBy(QueryContext queryContext, Expression orderer, AbstractBounds<PartitionPosition> keyRange) MemtableOrdering.orderBy(QueryContext queryContext, Expression orderer, AbstractBounds<PartitionPosition> keyRange) Order the index based on the given orderer (expression).TrieMemoryIndex.orderBy(QueryContext queryContext, Expression orderer, AbstractBounds<PartitionPosition> keyRange) VectorMemoryIndex.orderBy(QueryContext queryContext, Expression expr, AbstractBounds<PartitionPosition> keyRange) MemtableIndex.orderResultsBy(QueryContext queryContext, List<PrimaryKey> results, Expression orderer) MemtableOrdering.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) Order the given list ofPrimaryKeyresults corresponding to the given orderer.TrieMemoryIndex.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) VectorMemoryIndex.orderResultsBy(QueryContext queryContext, List<PrimaryKey> results, Expression orderer) abstract KeyRangeIteratorMemoryIndex.search(QueryContext queryContext, Expression expression, AbstractBounds<PartitionPosition> keyRange) MemtableIndex.search(QueryContext queryContext, Expression expression, AbstractBounds<PartitionPosition> keyRange) TrieMemoryIndex.search(QueryContext queryContext, Expression expression, AbstractBounds<PartitionPosition> keyRange) Search for an expression in the in-memory index within theAbstractBoundsdefined by keyRange.VectorMemoryIndex.search(QueryContext queryContext, Expression expression, AbstractBounds<PartitionPosition> keyRange) -
Uses of QueryContext in org.apache.cassandra.index.sai.metrics
Methods in org.apache.cassandra.index.sai.metrics with parameters of type QueryContextModifier and TypeMethodDescriptionMulticastQueryEventListeners.of(QueryContext ctx, QueryEventListener.BalancedTreeEventListener listener) MulticastQueryEventListeners.of(QueryContext ctx, QueryEventListener.TrieIndexEventListener listener) voidTableQueryMetrics.PerQueryMetrics.record(QueryContext queryContext) voidTableQueryMetrics.record(QueryContext queryContext) -
Uses of QueryContext in org.apache.cassandra.index.sai.plan
Constructors in org.apache.cassandra.index.sai.plan with parameters of type QueryContextModifierConstructorDescriptionQueryController(ColumnFamilyStore cfs, ReadCommand command, RowFilter indexFilter, QueryContext queryContext)