Package io.trino.orc.writer
Class DictionaryBuilder
- java.lang.Object
-
- io.trino.orc.writer.DictionaryBuilder
-
public class DictionaryBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description DictionaryBuilder(int expectedSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontains(Block block, int position)BlockgetElementBlock()intgetEntryCount()longgetRetainedSizeInBytes()longgetSizeInBytes()intputIfAbsent(Block block, int position)
-
-
-
Method Detail
-
getSizeInBytes
public long getSizeInBytes()
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
-
getElementBlock
public Block getElementBlock()
-
clear
public void clear()
-
contains
public boolean contains(Block block, int position)
-
putIfAbsent
public int putIfAbsent(Block block, int position)
-
getEntryCount
public int getEntryCount()
-
-