|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface HFile.Writer
API required to write an HFile
| Method Summary | |
|---|---|
void |
addDeleteFamilyBloomFilter(BloomFilterWriter bfw)
Store delete family Bloom filter in the file, which is only supported in HFile V2. |
void |
addGeneralBloomFilter(BloomFilterWriter bfw)
Store general Bloom filter in the file. |
void |
addInlineBlockWriter(InlineBlockWriter bloomWriter)
Adds an inline block writer such as a multi-level block index writer or a compound Bloom filter writer. |
void |
append(byte[] key,
byte[] value)
|
void |
append(KeyValue kv)
|
void |
appendFileInfo(byte[] key,
byte[] value)
Add an element to the file info map. |
void |
appendMetaBlock(String bloomFilterMetaKey,
org.apache.hadoop.io.Writable metaWriter)
|
org.apache.hadoop.fs.Path |
getPath()
|
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
void appendFileInfo(byte[] key,
byte[] value)
throws IOException
IOException
void append(KeyValue kv)
throws IOException
IOException
void append(byte[] key,
byte[] value)
throws IOException
IOExceptionorg.apache.hadoop.fs.Path getPath()
HFilevoid addInlineBlockWriter(InlineBlockWriter bloomWriter)
void appendMetaBlock(String bloomFilterMetaKey,
org.apache.hadoop.io.Writable metaWriter)
void addGeneralBloomFilter(BloomFilterWriter bfw)
void addDeleteFamilyBloomFilter(BloomFilterWriter bfw)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||