Class SASIIndexQueryPlan
java.lang.Object
org.apache.cassandra.index.SingletonIndexQueryPlan
org.apache.cassandra.index.sasi.plan.SASIIndexQueryPlan
- All Implemented Interfaces:
Comparable<Index.QueryPlan>,Index.QueryPlan
-
Method Summary
Modifier and TypeMethodDescriptionstatic SASIIndexQueryPlanbooleansupportsReplicaFilteringProtection(RowFilter rowFilter) Tells whether this index supports replica fitering protection or not.Methods inherited from class org.apache.cassandra.index.SingletonIndexQueryPlan
create, getEstimatedResultRows, getFirst, getIndexes, postIndexQueryFilter, searcherForMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.index.Index.QueryPlan
compareTo, isTopK, postProcessor, shouldEstimateInitialConcurrency, validate
-
Method Details
-
create
-
supportsReplicaFilteringProtection
Description copied from interface:Index.QueryPlanTells whether this index supports replica fitering protection or not. Replica filtering protection might need to run the query row filter in the coordinator to detect stale results. An index implementation will be compatible with this protection mechanism if it returns the same results for the row filter as CQL will return withALLOW FILTERINGand without using the index. This means that index implementations using custom query syntax or applying transformations to the indexed data won't support it. See CASSANDRA-8272 for further details.- Parameters:
rowFilter- rowFilter of query to decide if it supports replica filtering protection or not- Returns:
- true if this index supports replica filtering protection, false otherwise
-