@InterfaceAudience.Private public interface BloomFilterWriter extends BloomFilterBase
| Modifier and Type | Method and Description |
|---|---|
void |
add(byte[] buf,
int offset,
int len)
Add the specified binary to the bloom filter.
|
void |
allocBloom()
Allocate memory for the bloom filter data.
|
void |
compactBloom()
Compact the Bloom filter before writing metadata & data to disk.
|
org.apache.hadoop.io.Writable |
getDataWriter()
Get a writable interface into bloom filter data (the actual Bloom bits).
|
org.apache.hadoop.io.Writable |
getMetaWriter()
Get a writable interface into bloom filter meta data.
|
createBloomKey, getByteSize, getComparator, getKeyCount, getMaxKeysvoid allocBloom()
void compactBloom()
org.apache.hadoop.io.Writable getMetaWriter()
org.apache.hadoop.io.Writable getDataWriter()
void add(byte[] buf,
int offset,
int len)
buf - data to be added to the bloomoffset - offset into the data to be addedlen - length of the data to be addedCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.