Class

com.twitter.algebird

BFSparse

Related Doc: package algebird

Permalink

case class BFSparse[A](hashes: BFHash[A], bits: EWAHCompressedBitmap, width: Int) extends BF[A] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, BF[A], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BFSparse
  2. Serializable
  3. Product
  4. Equals
  5. BF
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BFSparse(hashes: BFHash[A], bits: EWAHCompressedBitmap, width: Int)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(item: A): BF[A]

    Permalink
    Definition Classes
    BFSparseBF
  4. def ++(other: BF[A]): BF[A]

    Permalink
    Definition Classes
    BFSparseBF
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val bits: EWAHCompressedBitmap

    Permalink
  8. def checkAndAdd(other: A): (BF[A], ApproximateBoolean)

    Permalink
    Definition Classes
    BFSparseBF
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contains(item: A): ApproximateBoolean

    Permalink
    Definition Classes
    BF
  11. def dense: BFInstance[A]

    Permalink

    Convert to a dense representation

  12. def density: Double

    Permalink

    Proportion of bits that are set to true.

    Proportion of bits that are set to true.

    Definition Classes
    BF
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hammingDistance(that: BF[A]): Int

    Permalink

    Compute the Hamming distance between the two Bloom filters a and b.

    Compute the Hamming distance between the two Bloom filters a and b. The distance is defined as the number of bits that need to change to in order to transform one filter into the other.

    Definition Classes
    BF
  17. val hashes: BFHash[A]

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def maybeContains(item: A): Boolean

    Permalink

    This may be faster if you don't care about evaluating the false positive probability

    This may be faster if you don't care about evaluating the false positive probability

    Definition Classes
    BFSparseBF
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def numBits: Int

    Permalink

    The number of bits set to true in the bloom filter

    The number of bits set to true in the bloom filter

    Definition Classes
    BFSparseBF
  24. def numHashes: Int

    Permalink
    Definition Classes
    BFSparseBF
  25. def size: Approximate[Long]

    Permalink
    Definition Classes
    BFSparseBF
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toBitSet: BitSet

    Permalink
    Definition Classes
    BFSparseBF
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. val width: Int

    Permalink
    Definition Classes
    BFSparseBF

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BF[A]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped