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,
DataOutput 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,
org.apache.hadoop.fs.FSDataInputStream fsdis,
org.apache.hadoop.fs.FSDataInputStream fsdisNoFsChecksum,
long fileSize,
boolean closeIStream,
CacheConfig cacheConf,
HFileSystem hfs) |
AbstractHFileReader(org.apache.hadoop.fs.Path path,
FixedFileTrailer trailer,
org.apache.hadoop.fs.FSDataInputStream fsdis,
long fileSize,
boolean closeIStream,
CacheConfig cacheConf) |
HFileReaderV1(org.apache.hadoop.fs.Path path,
FixedFileTrailer trailer,
org.apache.hadoop.fs.FSDataInputStream fsdis,
long size,
boolean closeIStream,
CacheConfig cacheConf)
Opens a HFile.
|
HFileReaderV2(org.apache.hadoop.fs.Path path,
FixedFileTrailer trailer,
org.apache.hadoop.fs.FSDataInputStream fsdis,
org.apache.hadoop.fs.FSDataInputStream fsdisNoFsChecksum,
long size,
boolean closeIStream,
CacheConfig cacheConf,
DataBlockEncoding preferredEncodingInCache,
HFileSystem hfs)
Opens a HFile.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.