Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides the hbase data+index+metadata file.
|
Modifier and Type | Field and Description |
---|---|
protected FixedFileTrailer |
AbstractHFileReader.trailer |
Modifier and Type | Method and Description |
---|---|
FixedFileTrailer |
HFile.Reader.getTrailer() |
FixedFileTrailer |
AbstractHFileReader.getTrailer() |
static FixedFileTrailer |
FixedFileTrailer.readFromStream(org.apache.hadoop.fs.FSDataInputStream istream,
long fileSize)
Reads a file trailer from the given file.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractHFileWriter.finishClose(FixedFileTrailer trailer)
Sets remaining trailer fields, writes the trailer to disk, and optionally
closes the output stream.
|
protected void |
AbstractHFileWriter.writeFileInfo(FixedFileTrailer trailer,
DataOutputStream out)
Sets the file info offset in the trailer, finishes up populating fields in
the file info, and writes the file info into the given data output.
|
Constructor and Description |
---|
AbstractHFileReader(org.apache.hadoop.fs.Path path,
FixedFileTrailer trailer,
long fileSize,
CacheConfig cacheConf,
HFileSystem hfs) |
HFileReaderV2(org.apache.hadoop.fs.Path path,
FixedFileTrailer trailer,
FSDataInputStreamWrapper fsdis,
long size,
CacheConfig cacheConf,
DataBlockEncoding preferredEncodingInCache,
HFileSystem hfs)
Opens a HFile.
|
Copyright © 2013 The Apache Software Foundation. All rights reserved.