|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface HFile.Reader
An interface used by clients to open and iterate an HFile
.
Method Summary | |
---|---|
void |
close(boolean evictOnClose)
Close method with optional evictOnClose |
DataInput |
getBloomFilterMetadata()
Retrieves Bloom filter metadata as appropriate for each HFile
version. |
String |
getColumnFamilyName()
|
org.apache.hadoop.io.RawComparator<byte[]> |
getComparator()
|
Compression.Algorithm |
getCompressionAlgorithm()
|
HFileBlockIndex.BlockIndexReader |
getDataBlockIndexReader()
|
long |
getEntries()
|
byte[] |
getFirstKey()
|
byte[] |
getFirstRowKey()
|
byte[] |
getLastKey()
|
byte[] |
getLastRowKey()
|
ByteBuffer |
getMetaBlock(String metaBlockName,
boolean cacheBlock)
|
String |
getName()
Returns this reader's "name". |
org.apache.hadoop.fs.Path |
getPath()
|
HFileScanner |
getScanner(boolean cacheBlocks,
boolean pread)
|
HFileScanner |
getScanner(boolean cacheBlocks,
boolean pread,
boolean isCompaction)
|
FixedFileTrailer |
getTrailer()
|
long |
indexSize()
|
long |
length()
|
Map<byte[],byte[]> |
loadFileInfo()
|
byte[] |
midkey()
|
Methods inherited from interface java.io.Closeable |
---|
close |
Methods inherited from interface org.apache.hadoop.hbase.io.hfile.HFile.CachingBlockReader |
---|
readBlock |
Method Detail |
---|
String getName()
String getColumnFamilyName()
org.apache.hadoop.io.RawComparator<byte[]> getComparator()
HFileScanner getScanner(boolean cacheBlocks, boolean pread, boolean isCompaction)
ByteBuffer getMetaBlock(String metaBlockName, boolean cacheBlock) throws IOException
IOException
Map<byte[],byte[]> loadFileInfo() throws IOException
IOException
byte[] getLastKey()
byte[] midkey() throws IOException
IOException
long length()
long getEntries()
byte[] getFirstKey()
long indexSize()
byte[] getFirstRowKey()
byte[] getLastRowKey()
FixedFileTrailer getTrailer()
HFileBlockIndex.BlockIndexReader getDataBlockIndexReader()
HFileScanner getScanner(boolean cacheBlocks, boolean pread)
Compression.Algorithm getCompressionAlgorithm()
DataInput getBloomFilterMetadata() throws IOException
HFile
version. Knows nothing about how that metadata is structured.
IOException
org.apache.hadoop.fs.Path getPath()
void close(boolean evictOnClose) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |