class Bloom extends BytesSerializable

Bloom represents a 2048 bit bloom filter.

Annotations
@JsonView()
Linear Supertypes
BytesSerializable, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bloom
  2. BytesSerializable
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Bloom()
  2. new Bloom(filter: Array[Byte])

Type Members

  1. type M = Bloom
    Definition Classes
    Bloom → BytesSerializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(data: Array[Byte]): Unit

    Add given data to the bloom filter.

    Add given data to the bloom filter.

    data

    raw data to hash and add to the filter

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bytes: Array[Byte]
    Definition Classes
    BytesSerializable
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(obj: Any): Boolean
    Definition Classes
    Bloom → AnyRef → Any
  10. def getBytes: Array[Byte]

    Return the raw 256 bytes bitmask of this bloom filter.

    Return the raw 256 bytes bitmask of this bloom filter.

    returns

    256 bytes bitmask

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    Bloom → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def merge(bloom: Bloom): Unit

    Merge the given bloom filter into this filter.

    Merge the given bloom filter into this filter.

    bloom

    instance of another bloom filter.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def serializer: SparkzSerializer[Bloom]
    Definition Classes
    Bloom → BytesSerializable
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def test(data: Array[Byte]): Boolean

    Checks if the given data is present in the bloom filter.

    Checks if the given data is present in the bloom filter.

    data

    raw data to test for presence

    returns

    false if data is not present in the filter, true if it likely is, see note

    Note

    This test might give false positives, but will never give false negatives. If the test fails the given data is definitely not present, if it succeeds, there is a high chance of data being present.

  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from BytesSerializable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped