org.elasticsearch.common.bloom
Class ObsBloomFilter
java.lang.Object
org.elasticsearch.common.bloom.ObsBloomFilter
- All Implemented Interfaces:
- BloomFilter
public class ObsBloomFilter
- extends Object
- implements BloomFilter
Method Summary |
void |
add(byte[] key,
int offset,
int length)
|
void |
clear()
|
boolean |
isPresent(byte[] key,
int offset,
int length)
|
long |
sizeInBytes()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
add
public void add(byte[] key,
int offset,
int length)
- Specified by:
add
in interface BloomFilter
isPresent
public boolean isPresent(byte[] key,
int offset,
int length)
- Specified by:
isPresent
in interface BloomFilter
clear
public void clear()
sizeInBytes
public long sizeInBytes()
- Specified by:
sizeInBytes
in interface BloomFilter
Copyright © 2009-2012. All Rights Reserved.