public static class LongDecimalWithOverflowStateFactory.SingleLongDecimalWithOverflowState extends Object implements LongDecimalWithOverflowState
| Modifier and Type | Field and Description |
|---|---|
protected long |
overflow |
static int |
SIZE |
protected io.airlift.slice.Slice |
unscaledDecimal |
| Constructor and Description |
|---|
SingleLongDecimalWithOverflowState() |
| Modifier and Type | Method and Description |
|---|---|
long |
getEstimatedSize() |
io.airlift.slice.Slice |
getLongDecimal() |
long |
getOverflow() |
void |
setLongDecimal(io.airlift.slice.Slice unscaledDecimal) |
void |
setOverflow(long overflow) |
public static final int SIZE
protected io.airlift.slice.Slice unscaledDecimal
protected long overflow
public io.airlift.slice.Slice getLongDecimal()
getLongDecimal in interface LongDecimalWithOverflowStatepublic void setLongDecimal(io.airlift.slice.Slice unscaledDecimal)
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.