org.elasticsearch.common.bloom
Interface BloomFilter
- All Known Implementing Classes:
- ObsBloomFilter
public interface BloomFilter
Method Summary |
void |
add(byte[] key,
int offset,
int length)
|
void |
add(java.nio.ByteBuffer key)
|
boolean |
isPresent(byte[] key,
int offset,
int length)
|
boolean |
isPresent(java.nio.ByteBuffer key)
|
long |
sizeInBytes()
|
NONE
static final BloomFilter NONE
EMPTY
static final BloomFilter EMPTY
add
void add(byte[] key,
int offset,
int length)
add
void add(java.nio.ByteBuffer key)
isPresent
boolean isPresent(byte[] key,
int offset,
int length)
isPresent
boolean isPresent(java.nio.ByteBuffer key)
sizeInBytes
long sizeInBytes()