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
Fields Modifier and Type Field Description protected longlongValuestatic intSIZE-
Fields inherited from class io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
overflow, unscaledDecimal
-
-
Constructor Summary
Constructors Constructor Description SingleLongDecimalWithOverflowAndLongState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLong(long value)longgetEstimatedSize()longgetLong()voidsetLong(long longValue)-
Methods inherited from class io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
addOverflow, getLongDecimal, getOverflow, setLongDecimal, setOverflow
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.operator.aggregation.state.LongDecimalWithOverflowState
addOverflow, getLongDecimal, getOverflow, setLongDecimal, setOverflow
-
-
-
-
Method Detail
-
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
-
-