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 boolean doesNotContain​(java.nio.ByteBuffer partitionKey)  
      default boolean mightContain​(java.nio.ByteBuffer partitionKey)  
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or, test
    • 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)