public static interface HFile.Reader extends Closeable, HFile.CachingBlockReader
HFile.readBlockString getName()
CellComparator getComparator()
HFileScanner getScanner(boolean cacheBlocks, boolean pread, boolean isCompaction)
HFileBlock getMetaBlock(String metaBlockName, boolean cacheBlock) throws IOException
IOExceptionOptional<Cell> getLastKey()
Optional<Cell> midKey() throws IOException
IOExceptionlong length()
long getEntries()
Optional<Cell> getFirstKey()
long indexSize()
Optional<byte[]> getFirstRowKey()
Optional<byte[]> getLastRowKey()
FixedFileTrailer getTrailer()
void setDataBlockIndexReader(HFileBlockIndex.CellBasedKeyBlockIndexReader reader)
HFileBlockIndex.CellBasedKeyBlockIndexReader getDataBlockIndexReader()
void setMetaBlockIndexReader(HFileBlockIndex.ByteArrayKeyBlockIndexReader reader)
HFileBlockIndex.ByteArrayKeyBlockIndexReader getMetaBlockIndexReader()
HFileScanner getScanner(boolean cacheBlocks, boolean pread)
DataInput getGeneralBloomFilterMetadata() throws IOException
HFile version.
Knows nothing about how that metadata is structured.IOExceptionDataInput getDeleteBloomFilterMetadata() throws IOException
HFile version.
Knows nothing about how that metadata is structured.IOExceptionorg.apache.hadoop.fs.Path getPath()
void close(boolean evictOnClose) throws IOException
IOExceptionDataBlockEncoding getDataBlockEncoding()
boolean hasMVCCInfo()
HFileContext getFileContext()
boolean isPrimaryReplicaReader()
DataBlockEncoding getEffectiveEncodingInCache(boolean isCompaction)
HFileBlock.FSReader getUncachedBlockReader()
boolean prefetchComplete()
void unbufferStream()
ReaderContext getContext()
HFileInfo getHFileInfo()
void setDataBlockEncoder(HFileDataBlockEncoder dataBlockEncoder)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.