Interface RootBlock
- All Superinterfaces:
Block
- All Known Implementing Classes:
RootBlockV1
public interface RootBlock extends Block
-
Method Summary
Modifier and Type Method Description java.lang.StringbranchBlockCompressor()intbranchBlocksPerFile()java.lang.StringbranchBlockType()intbranchBytesPerFile()default intbranchFileId(int level, int blockId)byte[]dictionaryKey(int index)byte[]dictionaryValue(int index)java.lang.StringleafBlockCompressor()intleafBlocksPerFile()java.lang.StringleafBlockType()intleafBytesPerFile()default intleafFileId(int blockId)default intmaxBranchLevel()intnumBranchBlocks()intnumBranchBlocks(int level)longnumBranchBytesCompressed()longnumBranchBytesEncoded()intnumBranchLevels()intnumColumns()intnumDictionaryEntries()intnumLeafBlocks()longnumLeafBytesCompressed()longnumLeafBytesEncoded()longnumRecords()longnumRootBytesEncoded()intnumValueBlocks()intnumValueBlocks(int column)longnumValueBytesCompressed()longnumValueBytesEncoded()java.lang.StringpathFormat()introotBranchBlockEnding()default BlockKeyrootBranchBlockKey(SnapshotKey snapshotKey)booleansorted()default java.util.LinkedHashMap<java.lang.String,java.lang.String>toKeyValueStrings()default longtotalBytesCompressed()default longtotalBytesEncoded()static java.lang.Stringtype(byte[] bytes)java.lang.StringvalueBlockCompressor()intvalueBlocksPerFile()java.lang.StringvalueBlockType()intvalueBytesPerFile()default intvalueFileId(int blockId)default java.time.DurationwriteDuration()longwriteDurationMs()longwriteStartTimeMs()
-
Method Details
-
type
static java.lang.String type(byte[] bytes) -
sorted
boolean sorted() -
pathFormat
java.lang.String pathFormat() -
branchBlockType
java.lang.String branchBlockType() -
leafBlockType
java.lang.String leafBlockType() -
valueBlockType
java.lang.String valueBlockType() -
branchBlockCompressor
java.lang.String branchBlockCompressor() -
leafBlockCompressor
java.lang.String leafBlockCompressor() -
valueBlockCompressor
java.lang.String valueBlockCompressor() -
branchBytesPerFile
int branchBytesPerFile() -
leafBytesPerFile
int leafBytesPerFile() -
valueBytesPerFile
int valueBytesPerFile() -
branchBlocksPerFile
int branchBlocksPerFile() -
leafBlocksPerFile
int leafBlocksPerFile() -
valueBlocksPerFile
int valueBlocksPerFile() -
numRecords
long numRecords() -
numBranchBlocks
int numBranchBlocks() -
numBranchBlocks
int numBranchBlocks(int level) -
numLeafBlocks
int numLeafBlocks() -
numColumns
int numColumns() -
numValueBlocks
int numValueBlocks(int column) -
numValueBlocks
int numValueBlocks() -
numBranchLevels
int numBranchLevels() -
maxBranchLevel
default int maxBranchLevel() -
numRootBytesEncoded
long numRootBytesEncoded() -
numBranchBytesEncoded
long numBranchBytesEncoded() -
numLeafBytesEncoded
long numLeafBytesEncoded() -
numValueBytesEncoded
long numValueBytesEncoded() -
totalBytesEncoded
default long totalBytesEncoded() -
numBranchBytesCompressed
long numBranchBytesCompressed() -
numLeafBytesCompressed
long numLeafBytesCompressed() -
numValueBytesCompressed
long numValueBytesCompressed() -
totalBytesCompressed
default long totalBytesCompressed() -
writeStartTimeMs
long writeStartTimeMs() -
writeDurationMs
long writeDurationMs() -
writeDuration
default java.time.Duration writeDuration() -
branchFileId
default int branchFileId(int level, int blockId) -
leafFileId
default int leafFileId(int blockId) -
valueFileId
default int valueFileId(int blockId) -
rootBranchBlockEnding
int rootBranchBlockEnding() -
rootBranchBlockKey
-
numDictionaryEntries
int numDictionaryEntries() -
dictionaryKey
byte[] dictionaryKey(int index) -
dictionaryValue
byte[] dictionaryValue(int index) -
toKeyValueStrings
default java.util.LinkedHashMap<java.lang.String,java.lang.String> toKeyValueStrings()
-