Class LongDecimalWithOverflowAndLongStateFactory.GroupedLongDecimalWithOverflowAndLongState
java.lang.Object
io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
io.trino.operator.aggregation.state.LongDecimalWithOverflowAndLongStateFactory.GroupedLongDecimalWithOverflowAndLongState
- All Implemented Interfaces:
LongDecimalWithOverflowAndLongState,LongDecimalWithOverflowState,AccumulatorState,GroupedAccumulatorState
- Enclosing class:
- LongDecimalWithOverflowAndLongStateFactory
public static class LongDecimalWithOverflowAndLongStateFactory.GroupedLongDecimalWithOverflowAndLongState
extends LongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
implements LongDecimalWithOverflowAndLongState
-
Field Summary
Fields inherited from class io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
isNotNull, overflows, unscaledDecimals -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLong(long value) voidensureCapacity(long size) longlonggetLong()voidsetLong(long value) Methods inherited from class io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
addOverflow, getDecimalArray, getDecimalArrayOffset, getOverflow, isNotNull, setNotNull, setOverflowMethods inherited from class io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
getGroupId, setGroupIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.function.AccumulatorState
copyMethods inherited from interface io.trino.operator.aggregation.state.LongDecimalWithOverflowState
addOverflow, getDecimalArray, getDecimalArrayOffset, getOverflow, isNotNull, setNotNull, setOverflow
-
Constructor Details
-
GroupedLongDecimalWithOverflowAndLongState
public GroupedLongDecimalWithOverflowAndLongState()
-
-
Method Details
-
ensureCapacity
public void ensureCapacity(long size) - Specified by:
ensureCapacityin interfaceGroupedAccumulatorState- Overrides:
ensureCapacityin classLongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
-
getLong
public long getLong()- Specified by:
getLongin interfaceLongDecimalWithOverflowAndLongState
-
setLong
public void setLong(long value) - Specified by:
setLongin interfaceLongDecimalWithOverflowAndLongState
-
addLong
public void addLong(long value) - Specified by:
addLongin interfaceLongDecimalWithOverflowAndLongState
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState- Overrides:
getEstimatedSizein classLongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
-