Package io.trino.operator.output
Class UnnestingPositionsAppender
java.lang.Object
io.trino.operator.output.UnnestingPositionsAppender
Dispatches the
append(it.unimi.dsi.fastutil.ints.IntArrayList, io.trino.spi.block.Block) and appendRle(io.trino.spi.block.ValueBlock, int) methods to the delegate depending on the input Block class.-
Constructor Summary
ConstructorsConstructorDescriptionUnnestingPositionsAppender(PositionsAppender delegate, Optional<BlockTypeOperators.BlockPositionIsDistinctFrom> isDistinctFromOperator) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidappendRle(ValueBlock value, int positionCount) build()voidlonglongvoidreset()boolean
-
Constructor Details
-
UnnestingPositionsAppender
public UnnestingPositionsAppender(PositionsAppender delegate, Optional<BlockTypeOperators.BlockPositionIsDistinctFrom> isDistinctFromOperator)
-
-
Method Details
-
append
-
appendRle
-
append
-
build
-
reset
public void reset() -
getRetainedSizeInBytes
public long getRetainedSizeInBytes() -
getSizeInBytes
public long getSizeInBytes() -
flattenPendingDictionary
public void flattenPendingDictionary() -
shouldForceFlushBeforeRelease
public boolean shouldForceFlushBeforeRelease()
-