Class LongDecimalWithOverflowAndLongStateFactory.GroupedLongDecimalWithOverflowAndLongState
- java.lang.Object
-
- io.prestosql.operator.aggregation.state.AbstractGroupedAccumulatorState
-
- io.prestosql.operator.aggregation.state.LongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
-
- io.prestosql.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.prestosql.operator.aggregation.state.LongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
numberOfElements, overflows, unscaledDecimals
-
-
Constructor Summary
Constructors Constructor Description GroupedLongDecimalWithOverflowAndLongState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ensureCapacity(long size)
long
getEstimatedSize()
long
getLong()
void
setLong(long value)
-
Methods inherited from class io.prestosql.operator.aggregation.state.LongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
getLongDecimal, getOverflow, setLongDecimal, setOverflow
-
Methods inherited from class io.prestosql.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.prestosql.operator.aggregation.state.LongDecimalWithOverflowState
getLongDecimal, getOverflow, setLongDecimal, setOverflow
-
-
-
-
Method Detail
-
ensureCapacity
public void ensureCapacity(long size)
- Specified by:
ensureCapacity
in interfaceGroupedAccumulatorState
- Overrides:
ensureCapacity
in classLongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
-
getLong
public long getLong()
- Specified by:
getLong
in interfaceLongDecimalWithOverflowAndLongState
-
setLong
public void setLong(long value)
- Specified by:
setLong
in interfaceLongDecimalWithOverflowAndLongState
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSize
in interfaceAccumulatorState
- Overrides:
getEstimatedSize
in classLongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState
-
-