Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
Modifier and Type | Field and Description |
---|---|
private FixedFileTrailer |
HFileReaderImpl.trailer |
Modifier and Type | Method and Description |
---|---|
FixedFileTrailer |
HFileReaderImpl.getTrailer() |
FixedFileTrailer |
HFile.Reader.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 HFileContext |
HFileReaderImpl.createHFileContext(FSDataInputStreamWrapper fsdis,
long fileSize,
HFileSystem hfs,
org.apache.hadoop.fs.Path path,
FixedFileTrailer trailer) |
protected void |
HFileWriterImpl.finishClose(FixedFileTrailer trailer) |
protected void |
HFileWriterImpl.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 |
---|
HFileReaderImpl(org.apache.hadoop.fs.Path path,
FixedFileTrailer trailer,
FSDataInputStreamWrapper fsdis,
long fileSize,
CacheConfig cacheConf,
HFileSystem hfs,
boolean primaryReplicaReader,
org.apache.hadoop.conf.Configuration conf)
Opens a HFile.
|
HFileReaderImpl(org.apache.hadoop.fs.Path path,
FixedFileTrailer trailer,
FSDataInputStreamWrapper fsdis,
long fileSize,
CacheConfig cacheConf,
HFileSystem hfs,
org.apache.hadoop.conf.Configuration conf)
Deprecated.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.