public class BloomFilter extends WrappedSharedCloseable implements IFilter
IFilter.FilterKey| Modifier and Type | Method and Description |
|---|---|
void |
add(IFilter.FilterKey key) |
void |
addTo(Ref.IdentityCollection identities) |
void |
clear() |
long[] |
getHashBuckets(IFilter.FilterKey key,
int hashCount,
long max) |
boolean |
isPresent(IFilter.FilterKey key) |
long |
offHeapSize()
Returns the amount of memory in bytes used off heap.
|
long |
serializedSize() |
IFilter |
sharedCopy() |
java.lang.String |
toString() |
close, close, isCleanedUpclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclosepublic final IBitSet bitset
public final int hashCount
public long serializedSize()
serializedSize in interface IFilterpublic long[] getHashBuckets(IFilter.FilterKey key, int hashCount, long max)
public void add(IFilter.FilterKey key)
public final boolean isPresent(IFilter.FilterKey key)
public IFilter sharedCopy()
sharedCopy in interface SharedCloseablesharedCopy in interface IFilterpublic long offHeapSize()
IFilteroffHeapSize in interface IFilterpublic java.lang.String toString()
toString in class java.lang.Objectpublic void addTo(Ref.IdentityCollection identities)
addTo in interface SharedCloseableaddTo in class SharedCloseableImplCopyright © 2009-2020 The Apache Software Foundation