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 Constructor Description GroupedLongDecimalWithOverflowAndLongState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLong(long value)voidensureCapacity(long size)longgetEstimatedSize()longgetLong()voidsetLong(long value)-
Methods inherited from class io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
addOverflow, getDecimalArray, getDecimalArrayOffset, getOverflow, isNotNull, setNotNull, setOverflow
-
Methods inherited from class io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
getGroupId, setGroupId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.spi.function.AccumulatorState
copy
-
Methods inherited from interface io.trino.operator.aggregation.state.LongDecimalWithOverflowState
addOverflow, getDecimalArray, getDecimalArrayOffset, getOverflow, isNotNull, setNotNull, setOverflow
-
-
-
-
Method Detail
-
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
-
-