public abstract class BloomFilter extends java.lang.Object implements IFilter
Modifier and Type | Method and Description |
---|---|
void |
add(java.nio.ByteBuffer key) |
void |
clear() |
void |
close() |
long[] |
getHashBuckets(java.nio.ByteBuffer key,
int hashCount,
long max) |
protected abstract void |
hash(java.nio.ByteBuffer b,
int position,
int remaining,
long seed,
long[] result) |
boolean |
isPresent(java.nio.ByteBuffer key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serializedSize
public final IBitSet bitset
public final int hashCount
protected abstract void hash(java.nio.ByteBuffer b, int position, int remaining, long seed, long[] result)
public long[] getHashBuckets(java.nio.ByteBuffer key, int hashCount, long max)
public final boolean isPresent(java.nio.ByteBuffer key)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
Copyright © 2014 The Apache Software Foundation