Class NullableBooleanStateSerializer
- java.lang.Object
-
- io.prestosql.operator.aggregation.state.NullableBooleanStateSerializer
-
- All Implemented Interfaces:
AccumulatorStateSerializer<NullableBooleanState>
public class NullableBooleanStateSerializer extends Object implements AccumulatorStateSerializer<NullableBooleanState>
-
-
Constructor Summary
Constructors Constructor Description NullableBooleanStateSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(Block block, int index, NullableBooleanState state)
Type
getSerializedType()
void
serialize(NullableBooleanState state, BlockBuilder out)
-
-
-
Method Detail
-
getSerializedType
public Type getSerializedType()
- Specified by:
getSerializedType
in interfaceAccumulatorStateSerializer<NullableBooleanState>
-
serialize
public void serialize(NullableBooleanState state, BlockBuilder out)
- Specified by:
serialize
in interfaceAccumulatorStateSerializer<NullableBooleanState>
-
deserialize
public void deserialize(Block block, int index, NullableBooleanState state)
- Specified by:
deserialize
in interfaceAccumulatorStateSerializer<NullableBooleanState>
-
-