public static interface HFile.Writer extends Closeable, CellSink, ShipperListener
HFile
Modifier and Type | Field and Description |
---|---|
static byte[] |
MAX_MEMSTORE_TS_KEY
Max memstore (mvcc) timestamp in FileInfo
|
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 |
appendFileInfo(byte[] key,
byte[] value)
Add an element to the file info map.
|
void |
appendMetaBlock(String bloomFilterMetaKey,
org.apache.hadoop.io.Writable metaWriter) |
HFileContext |
getFileContext()
Return the file context for the HFile this writer belongs to
|
org.apache.hadoop.fs.Path |
getPath() |
beforeShipped
static final byte[] MAX_MEMSTORE_TS_KEY
void appendFileInfo(byte[] key, byte[] value) throws IOException
IOException
org.apache.hadoop.fs.Path getPath()
HFile
void addInlineBlockWriter(InlineBlockWriter bloomWriter)
void appendMetaBlock(String bloomFilterMetaKey, org.apache.hadoop.io.Writable metaWriter)
void addGeneralBloomFilter(BloomFilterWriter bfw)
void addDeleteFamilyBloomFilter(BloomFilterWriter bfw) throws IOException
IOException
HFileContext getFileContext()
Copyright © 2007–2019 Cloudera. All rights reserved.