@InterfaceAudience.Private public class HFilePreadReader extends HFileReaderImpl
HFile.Reader to deal with pread.HFileReaderImpl.BlockIndexNotLoadedException, HFileReaderImpl.EncodedScanner, HFileReaderImpl.HFileScannerImpl, HFileReaderImpl.NotSeekedException| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
cacheConf, context, dataBlockEncoder, dataBlockIndexReader, fileInfo, fsBlockReader, hfileContext, KEY_VALUE_LEN_SIZE, MAX_MINOR_VERSION, metaBlockIndexReader, MIN_MINOR_VERSION, MINOR_VERSION_NO_CHECKSUM, MINOR_VERSION_WITH_CHECKSUM, MINOR_VERSION_WITH_FAKED_KEY, name, path, PBUF_TRAILER_MINOR_VERSION, trailer| Constructor and Description |
|---|
HFilePreadReader(ReaderContext context,
HFileInfo fileInfo,
CacheConfig cacheConf,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean evictOnClose)
Close method with optional evictOnClose
|
private static String |
getPathOffsetEndStr(org.apache.hadoop.fs.Path path,
long offset,
long end) |
close, getComparator, getCompressionAlgorithm, getConf, getContext, getDataBlockEncoding, getDataBlockIndexReader, getDeleteBloomFilterMetadata, getEffectiveEncodingInCache, getEntries, getFileContext, getFirstKey, getFirstRowKey, getGeneralBloomFilterMetadata, getHFileInfo, getLastKey, getLastRowKey, getMajorVersion, getMetaBlock, getMetaBlockIndexReader, getName, getPath, getScanner, getScanner, getTrailer, getUncachedBlockReader, hasMVCCInfo, indexSize, isFileInfoLoaded, isPrimaryReplicaReader, length, midKey, prefetchComplete, readBlock, setConf, setDataBlockEncoder, setDataBlockIndexReader, setMetaBlockIndexReader, toString, unbufferStreamprivate static final org.slf4j.Logger LOG
public HFilePreadReader(ReaderContext context, HFileInfo fileInfo, CacheConfig cacheConf, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionprivate static String getPathOffsetEndStr(org.apache.hadoop.fs.Path path, long offset, long end)
public void close(boolean evictOnClose) throws IOException
HFile.ReaderIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.