public static interface HFile.Writer
extends java.io.Closeable
HFile| Modifier and Type | Method and Description |
|---|---|
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(Cell cell) |
void |
appendFileInfo(byte[] key,
byte[] value)
Add an element to the file info map.
|
void |
appendMetaBlock(java.lang.String bloomFilterMetaKey,
Writable metaWriter) |
HFileContext |
getFileContext()
Return the file context for the HFile this writer belongs to
|
Path |
getPath() |
void appendFileInfo(byte[] key,
byte[] value)
throws java.io.IOException
java.io.IOExceptionvoid append(Cell cell) throws java.io.IOException
java.io.IOExceptionPath getPath()
HFilevoid addInlineBlockWriter(InlineBlockWriter bloomWriter)
void appendMetaBlock(java.lang.String bloomFilterMetaKey,
Writable metaWriter)
void addGeneralBloomFilter(BloomFilterWriter bfw)
void addDeleteFamilyBloomFilter(BloomFilterWriter bfw) throws java.io.IOException
java.io.IOExceptionHFileContext getFileContext()