Interface KeyAndBlockPositionValueState
-
- All Superinterfaces:
AccumulatorState,TwoNullableValueState
- All Known Subinterfaces:
BooleanAndBlockPositionValueState,DoubleAndBlockPositionValueState,LongAndBlockPositionValueState,ObjectAndBlockPositionValueState
public interface KeyAndBlockPositionValueState extends TwoNullableValueState
Used for MinMaxBy aggregation states where value's native container type is Block or Slice.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockgetSecondBlock()intgetSecondPosition()voidsetSecondBlock(Block second)voidsetSecondPosition(int position)-
Methods inherited from interface io.trino.spi.function.AccumulatorState
getEstimatedSize
-
Methods inherited from interface io.trino.operator.aggregation.minmaxby.TwoNullableValueState
isFirstNull, isSecondNull, setFirstNull, setSecondNull
-
-