Class SASIIndexQueryPlan

    • Method Detail

      • supportsReplicaFilteringProtection

        public boolean supportsReplicaFilteringProtection​(RowFilter rowFilter)
        Description copied from interface: Index.QueryPlan
        Tells 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 with ALLOW FILTERING and 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