Packages

c

com.spotify.scio.hash

ApproxFilterIterable

implicit final class ApproxFilterIterable[T] extends AnyVal

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApproxFilterIterable
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ApproxFilterIterable(self: Iterable[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def asApproxFilter[C <: ApproxFilterCompanion](c: C, expectedInsertions: Long, fpp: Double)(implicit hash: asApproxFilter.C.Hash[T]): asApproxFilter.C.Filter[T]

    Creates an ApproxFilter from this Iterable with the expected number of insertions and expected false positive probability.

    Creates an ApproxFilter from this Iterable with the expected number of insertions and expected false positive probability.

    Note that overflowing an ApproxFilter with significantly more elements than specified, will result in its saturation, and a sharp deterioration of its false positive probability.

    c

    companion object of the ApproxFilter implementation, e.g. BloomFilter.

  5. def asApproxFilter[C <: ApproxFilterCompanion](c: C, expectedInsertions: Long)(implicit hash: asApproxFilter.C.Hash[T]): asApproxFilter.C.Filter[T]

    Creates an ApproxFilter from this Iterable with the expected number of insertions and default fpp of 0.03.

    Creates an ApproxFilter from this Iterable with the expected number of insertions and default fpp of 0.03.

    Note that overflowing an ApproxFilter with significantly more elements than specified, will result in its saturation, and a sharp deterioration of its false positive probability.

    c

    companion object of the ApproxFilter implementation, e.g. BloomFilter.

  6. def asApproxFilter[C <: ApproxFilterCompanion](c: C)(implicit hash: asApproxFilter.C.Hash[T]): asApproxFilter.C.Filter[T]

    Creates an ApproxFilter from this Iterable with the collection size as expectedInsertions and default fpp of 0.03.

    Creates an ApproxFilter from this Iterable with the collection size as expectedInsertions and default fpp of 0.03.

    Note that overflowing an ApproxFilter with significantly more elements than specified, will result in its saturation, and a sharp deterioration of its false positive probability.

    c

    companion object of the ApproxFilter implementation, e.g. BloomFilter.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped