Package org.apache.hadoop.hbase.io.hfile
Class ReaderContext
java.lang.Object
org.apache.hadoop.hbase.io.hfile.ReaderContext
Carries the information on some of the meta data about the HFile Reader
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.fs.Path
private final long
private final FSDataInputStreamWrapper
private final HFileSystem
private final boolean
private final boolean
private final ReaderContext.ReaderType
-
Constructor Summary
ConstructorDescriptionReaderContext
(org.apache.hadoop.fs.Path filePath, FSDataInputStreamWrapper fsdis, long fileSize, HFileSystem hfs, boolean primaryReplicaReader, ReaderContext.ReaderType type) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.fs.Path
long
boolean
boolean
-
Field Details
-
filePath
-
fsdis
-
fileSize
-
hfs
-
-
type
-
preadAllBytes
-
-
Constructor Details
-
ReaderContext
public ReaderContext(org.apache.hadoop.fs.Path filePath, FSDataInputStreamWrapper fsdis, long fileSize, HFileSystem hfs, boolean primaryReplicaReader, ReaderContext.ReaderType type)
-
-
Method Details
-
getFilePath
-
getInputStreamWrapper
-
getFileSize
-
getFileSystem
-
isPrimaryReplicaReader
-
getReaderType
-
isPreadAllBytes
-