Class LongDecimalWithOverflowAndLongStateFactory.SingleLongDecimalWithOverflowAndLongState
java.lang.Object
io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
io.trino.operator.aggregation.state.LongDecimalWithOverflowAndLongStateFactory.SingleLongDecimalWithOverflowAndLongState
- All Implemented Interfaces:
LongDecimalWithOverflowAndLongState,LongDecimalWithOverflowState,AccumulatorState
- Enclosing class:
- LongDecimalWithOverflowAndLongStateFactory
public static class LongDecimalWithOverflowAndLongStateFactory.SingleLongDecimalWithOverflowAndLongState
extends LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
implements LongDecimalWithOverflowAndLongState
-
Field Summary
FieldsFields inherited from class io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
isNotNull, overflow, SIZE, unscaledDecimal -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
addOverflow, getDecimalArray, getDecimalArrayOffset, getOverflow, isNotNull, setNotNull, setOverflowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.operator.aggregation.state.LongDecimalWithOverflowState
addOverflow, getDecimalArray, getDecimalArrayOffset, getOverflow, isNotNull, setNotNull, setOverflow
-
Field Details
-
longValue
protected long longValue
-
-
Constructor Details
-
SingleLongDecimalWithOverflowAndLongState
public SingleLongDecimalWithOverflowAndLongState()
-
-
Method Details
-
getLong
public long getLong()- Specified by:
getLongin interfaceLongDecimalWithOverflowAndLongState
-
setLong
public void setLong(long longValue) - 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.SingleLongDecimalWithOverflowState
-
copy
- Specified by:
copyin interfaceAccumulatorState- Overrides:
copyin classLongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
-