Class View
java.lang.Object
org.apache.cassandra.index.sai.view.View
- All Implemented Interfaces:
Iterable<SSTableIndex>
The View is an immutable, point in time, view of the avalailable
SSTableIndexes for an index.
The view maintains a RangeTermTree for querying the view by value range. This is used by the
QueryViewBuilder to select the set of SSTableIndexes
to perform a query without needing to query indexes that are known not to contain to the requested
expression value range.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsSSTable(SSTableReader sstable) iterator()match(Expression expression) Search for a list ofSSTableIndexes that contain values within the value range requested in theExpressionintsize()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
View
-
-
Method Details
-
match
Search for a list ofSSTableIndexes that contain values within the value range requested in theExpression -
iterator
- Specified by:
iteratorin interfaceIterable<SSTableIndex>
-
getIndexes
-
containsSSTable
-
size
public int size() -
toString
-