class Bloom extends BytesSerializable
Bloom represents a 2048 bit bloom filter.
- Annotations
- @JsonView()
- Alphabetic
- By Inheritance
- Bloom
- BytesSerializable
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bytes: Array[Byte]
- Definition Classes
- BytesSerializable
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- Bloom → AnyRef → Any
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- Bloom → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
serializer: SparkzSerializer[Bloom]
- Definition Classes
- Bloom → BytesSerializable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated