org.elasticsearch.common.bloom
Interface BloomFilter

All Known Implementing Classes:
ObsBloomFilter

public interface BloomFilter


Field Summary
static BloomFilter EMPTY
           
static BloomFilter NONE
           
 
Method Summary
 void add(byte[] key, int offset, int length)
           
 boolean isPresent(byte[] key, int offset, int length)
           
 long sizeInBytes()
           
 

Field Detail

NONE

static final BloomFilter NONE

EMPTY

static final BloomFilter EMPTY
Method Detail

add

void add(byte[] key,
         int offset,
         int length)

isPresent

boolean isPresent(byte[] key,
                  int offset,
                  int length)

sizeInBytes

long sizeInBytes()


Copyright © 2009-2012. All Rights Reserved.