@InterfaceAudience.Private public class HFileStreamReader extends HFileReaderImpl
HFile.Reader to deal with stream read
do not perform any prefetch operations (HFilePreadReader will do this).HFileReaderImpl.BlockIndexNotLoadedException, HFileReaderImpl.EncodedScanner, HFileReaderImpl.HFileScannerImpl, HFileReaderImpl.NotSeekedExceptioncacheConf, 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 |
|---|
HFileStreamReader(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
|
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, unbufferStreampublic HFileStreamReader(ReaderContext context, HFileInfo fileInfo, CacheConfig cacheConf, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic void close(boolean evictOnClose) throws IOException
HFile.ReaderIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.