public static class LongDecimalWithOverflowStateFactory.GroupedLongDecimalWithOverflowState extends AbstractGroupedAccumulatorState implements LongDecimalWithOverflowState
| Modifier and Type | Field and Description |
|---|---|
protected long |
numberOfElements |
protected LongBigArray |
overflows |
protected ObjectBigArray<io.airlift.slice.Slice> |
unscaledDecimals |
| Constructor and Description |
|---|
GroupedLongDecimalWithOverflowState() |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureCapacity(long size) |
long |
getEstimatedSize() |
io.airlift.slice.Slice |
getLongDecimal() |
long |
getOverflow() |
void |
setLongDecimal(io.airlift.slice.Slice value) |
void |
setOverflow(long overflow) |
getGroupId, setGroupIdprotected final ObjectBigArray<io.airlift.slice.Slice> unscaledDecimals
protected final LongBigArray overflows
protected long numberOfElements
public void ensureCapacity(long size)
ensureCapacity in interface GroupedAccumulatorStatepublic io.airlift.slice.Slice getLongDecimal()
getLongDecimal in interface LongDecimalWithOverflowStatepublic void setLongDecimal(io.airlift.slice.Slice value)
setLongDecimal in interface LongDecimalWithOverflowStatepublic long getOverflow()
getOverflow in interface LongDecimalWithOverflowStatepublic void setOverflow(long overflow)
setOverflow in interface LongDecimalWithOverflowStatepublic long getEstimatedSize()
getEstimatedSize in interface AccumulatorStateCopyright © 2012–2019. All rights reserved.