Class LongDecimalWithOverflowAndLongStateFactory.SingleLongDecimalWithOverflowAndLongState
- java.lang.Object
-
- io.prestosql.operator.aggregation.state.LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
-
- io.prestosql.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 long
longValue
static int
SIZE
-
Fields inherited from class io.prestosql.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 long
getEstimatedSize()
long
getLong()
void
setLong(long longValue)
-
Methods inherited from class io.prestosql.operator.aggregation.state.LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
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.prestosql.operator.aggregation.state.LongDecimalWithOverflowState
getLongDecimal, getOverflow, setLongDecimal, setOverflow
-
-
-
-
Method Detail
-
getLong
public long getLong()
- Specified by:
getLong
in interfaceLongDecimalWithOverflowAndLongState
-
setLong
public void setLong(long longValue)
- Specified by:
setLong
in interfaceLongDecimalWithOverflowAndLongState
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSize
in interfaceAccumulatorState
- Overrides:
getEstimatedSize
in classLongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
-
-