Class LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
java.lang.Object
io.trino.operator.aggregation.state.LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
- All Implemented Interfaces:
LongDecimalWithOverflowState,AccumulatorState
- Enclosing class:
LongDecimalWithOverflowStateFactory
public static class LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState
extends Object
implements LongDecimalWithOverflowState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOverflow(long overflow) copy()long[]intlonglongbooleanvoidvoidsetOverflow(long overflow)
-
Constructor Details
-
SingleLongDecimalWithOverflowState
public SingleLongDecimalWithOverflowState()
-
-
Method Details
-
isNotNull
public boolean isNotNull()- Specified by:
isNotNullin interfaceLongDecimalWithOverflowState
-
setNotNull
public void setNotNull()- Specified by:
setNotNullin interfaceLongDecimalWithOverflowState
-
getDecimalArray
public long[] getDecimalArray()- Specified by:
getDecimalArrayin interfaceLongDecimalWithOverflowState
-
getDecimalArrayOffset
public int getDecimalArrayOffset()- Specified by:
getDecimalArrayOffsetin interfaceLongDecimalWithOverflowState
-
getOverflow
public long getOverflow()- Specified by:
getOverflowin interfaceLongDecimalWithOverflowState
-
setOverflow
public void setOverflow(long overflow) - Specified by:
setOverflowin interfaceLongDecimalWithOverflowState
-
addOverflow
public void addOverflow(long overflow) - Specified by:
addOverflowin interfaceLongDecimalWithOverflowState
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
copy
- Specified by:
copyin interfaceAccumulatorState
-