Package org.apache.cassandra.bridge
Interface BloomFilter
-
- All Superinterfaces:
java.util.function.Predicate<java.nio.ByteBuffer>
public interface BloomFilter extends java.util.function.Predicate<java.nio.ByteBuffer>Version independent interface to front bloom filter.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleandoesNotContain(java.nio.ByteBuffer partitionKey)default booleanmightContain(java.nio.ByteBuffer partitionKey)
-
-
-
Method Detail
-
mightContain
default boolean mightContain(java.nio.ByteBuffer partitionKey)
- Parameters:
partitionKey- serialzied partition key.- Returns:
- true if SSTable might contain a given partition key, might return false-positives but never false-negatives.
-
doesNotContain
default boolean doesNotContain(java.nio.ByteBuffer partitionKey)
-
-