Package org.apache.hadoop.hbase.io.hfile
Interface BlockIndexChunk
- All Known Implementing Classes:
HFileBlockIndex.BlockIndexChunkImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(byte[] firstKey, long blockOffset, int onDiskDataSize) void
add
(byte[] firstKey, long blockOffset, int onDiskDataSize, long curTotalNumSubEntries) void
clear()
byte[]
getBlockKey
(int i) List<byte[]>
long
getBlockOffset
(int i) int
int
getEntryBySubEntry
(long k) byte[]
int
int
int
getOnDiskDataSize
(int i) int
-
Method Details
-
getBlockKeys
List<byte[]> getBlockKeys() -
getSecondaryIndexOffsetMarks
-
getEntryBySubEntry
-
add
-
add
-
getRootSize
int getRootSize() -
getCurTotalNonRootEntrySize
-
getNonRootSize
int getNonRootSize() -
getNumEntries
int getNumEntries() -
getBlockKey
-
getBlockOffset
-
getOnDiskDataSize
-
getMidKeyMetadata
- Throws:
IOException
-
clear
void clear()
-