@InterfaceAudience.Private public class ReaderContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReaderContext.ReaderType |
| Constructor and Description |
|---|
ReaderContext(org.apache.hadoop.fs.Path filePath,
FSDataInputStreamWrapper fsdis,
long fileSize,
HFileSystem hfs,
boolean primaryReplicaReader,
ReaderContext.ReaderType type) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.Path |
getFilePath() |
long |
getFileSize() |
HFileSystem |
getFileSystem() |
FSDataInputStreamWrapper |
getInputStreamWrapper() |
ReaderContext.ReaderType |
getReaderType() |
boolean |
isPreadAllBytes() |
boolean |
isPrimaryReplicaReader() |
public ReaderContext(org.apache.hadoop.fs.Path filePath,
FSDataInputStreamWrapper fsdis,
long fileSize,
HFileSystem hfs,
boolean primaryReplicaReader,
ReaderContext.ReaderType type)
public org.apache.hadoop.fs.Path getFilePath()
public FSDataInputStreamWrapper getInputStreamWrapper()
public long getFileSize()
public HFileSystem getFileSystem()
public boolean isPrimaryReplicaReader()
public ReaderContext.ReaderType getReaderType()
public boolean isPreadAllBytes()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.