Uses of Class
org.apache.cassandra.index.sai.plan.Expression
Packages that use Expression
Package
Description
-
Uses of Expression in org.apache.cassandra.index.sai.disk
Methods in org.apache.cassandra.index.sai.disk with parameters of type ExpressionModifier and TypeMethodDescriptionstatic 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.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 Expression in org.apache.cassandra.index.sai.disk.v1
Methods in org.apache.cassandra.index.sai.disk.v1 with parameters of type ExpressionModifier 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 Expression in org.apache.cassandra.index.sai.disk.v1.bbtree
Methods in org.apache.cassandra.index.sai.disk.v1.bbtree with parameters of type ExpressionModifier and TypeMethodDescriptionBlockBalancedTreeQueries.balancedTreeQueryFrom(Expression expression, int bytesPerValue) -
Uses of Expression in org.apache.cassandra.index.sai.disk.v1.segment
Methods in org.apache.cassandra.index.sai.disk.v1.segment with parameters of type ExpressionModifier and TypeMethodDescriptionIndexSegmentSearcher.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) -
Uses of Expression in org.apache.cassandra.index.sai.memory
Methods in org.apache.cassandra.index.sai.memory with parameters of type ExpressionModifier 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 Expression in org.apache.cassandra.index.sai.plan
Subclasses of Expression in org.apache.cassandra.index.sai.planModifier and TypeClassDescriptionstatic classstatic classFields in org.apache.cassandra.index.sai.plan declared as ExpressionModifier and TypeFieldDescriptionfinal ExpressionQueryViewBuilder.QueryExpressionView.expressionMethods in org.apache.cassandra.index.sai.plan that return ExpressionModifier and TypeMethodDescriptionExpression.add(Operator op, ByteBuffer value) This adds an operation to the currentExpressioninstance and returns the current instance.static ExpressionExpression.create(StorageAttachedIndex index) static ExpressionExpression.create(IndexTermType indexTermType) Method parameters in org.apache.cassandra.index.sai.plan with type arguments of type ExpressionModifier and TypeMethodDescriptionQueryController.getIndexQueryResults(Collection<Expression> expressions) Build aKeyRangeIterator.Builderfrom the given list ofExpressions.Constructors in org.apache.cassandra.index.sai.plan with parameters of type ExpressionModifierConstructorDescriptionQueryExpressionView(Expression expression, Collection<MemtableIndex> memtableIndexes, Collection<SSTableIndex> sstableIndexes) -
Uses of Expression in org.apache.cassandra.index.sai.view
Methods in org.apache.cassandra.index.sai.view with parameters of type ExpressionModifier and TypeMethodDescriptionView.match(Expression expression) Search for a list ofSSTableIndexes that contain values within the value range requested in theExpressionRangeTermTree.search(Expression e)