org.elasticsearch.common.bloom
Class ObsBloomFilter

java.lang.Object
  extended by org.elasticsearch.common.bloom.ObsBloomFilter
All Implemented Interfaces:
BloomFilter

public class ObsBloomFilter
extends Object
implements BloomFilter


Field Summary
 
Fields inherited from interface org.elasticsearch.common.bloom.BloomFilter
EMPTY, NONE
 
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
 

Method Detail

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.