Class LongDecimalWithOverflowAndLongStateSerializer
- java.lang.Object
-
- io.trino.operator.aggregation.state.LongDecimalWithOverflowAndLongStateSerializer
-
- All Implemented Interfaces:
AccumulatorStateSerializer<LongDecimalWithOverflowAndLongState>
public class LongDecimalWithOverflowAndLongStateSerializer extends Object implements AccumulatorStateSerializer<LongDecimalWithOverflowAndLongState>
-
-
Constructor Summary
Constructors Constructor Description LongDecimalWithOverflowAndLongStateSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(Block block, int index, LongDecimalWithOverflowAndLongState state)TypegetSerializedType()voidserialize(LongDecimalWithOverflowAndLongState state, BlockBuilder out)
-
-
-
Method Detail
-
getSerializedType
public Type getSerializedType()
- Specified by:
getSerializedTypein interfaceAccumulatorStateSerializer<LongDecimalWithOverflowAndLongState>
-
serialize
public void serialize(LongDecimalWithOverflowAndLongState state, BlockBuilder out)
- Specified by:
serializein interfaceAccumulatorStateSerializer<LongDecimalWithOverflowAndLongState>
-
deserialize
public void deserialize(Block block, int index, LongDecimalWithOverflowAndLongState state)
- Specified by:
deserializein interfaceAccumulatorStateSerializer<LongDecimalWithOverflowAndLongState>
-
-