| Modifier and Type | Method and Description |
|---|---|
DecimalData |
DecimalData.copy()
Returns a copy of this
DecimalData object. |
static DecimalData |
DecimalData.fromBigDecimal(BigDecimal bd,
int precision,
int scale)
Creates an instance of
DecimalData from a BigDecimal and the given precision
and scale. |
static DecimalData |
DecimalData.fromUnscaledBytes(byte[] unscaledBytes,
int precision,
int scale)
Creates an instance of
DecimalData from an unscaled byte array value and the given
precision and scale. |
static DecimalData |
DecimalData.fromUnscaledLong(long unscaledLong,
int precision,
int scale)
Creates an instance of
DecimalData from an unscaled long value and the given
precision and scale. |
DecimalData |
ArrayData.getDecimal(int pos,
int precision,
int scale)
Returns the decimal value at the given position.
|
DecimalData |
RowData.getDecimal(int pos,
int precision,
int scale)
Returns the decimal value at the given position.
|
DecimalData |
GenericRowData.getDecimal(int pos,
int precision,
int scale) |
DecimalData |
GenericArrayData.getDecimal(int pos,
int precision,
int scale) |
static DecimalData |
DecimalData.zero(int precision,
int scale)
Creates an instance of
DecimalData for a zero value with the given precision and
scale. |
| Modifier and Type | Method and Description |
|---|---|
int |
DecimalData.compareTo(DecimalData that) |
| Modifier and Type | Method and Description |
|---|---|
DecimalData |
BinaryRowData.getDecimal(int pos,
int precision,
int scale) |
DecimalData |
BinaryArrayData.getDecimal(int pos,
int precision,
int scale) |
DecimalData |
NestedRowData.getDecimal(int pos,
int precision,
int scale) |
static DecimalData |
BinarySegmentUtils.readDecimalData(org.apache.flink.core.memory.MemorySegment[] segments,
int baseOffset,
long offsetAndSize,
int precision,
int scale)
Gets an instance of
DecimalData from underlying MemorySegment. |
| Modifier and Type | Method and Description |
|---|---|
void |
BinaryRowData.setDecimal(int pos,
DecimalData value,
int precision) |
void |
BinaryArrayData.setDecimal(int pos,
DecimalData value,
int precision) |
void |
TypedSetters.setDecimal(int pos,
DecimalData value,
int precision)
Set the decimal column value.
|
void |
NestedRowData.setDecimal(int pos,
DecimalData value,
int precision) |
| Modifier and Type | Method and Description |
|---|---|
DecimalData |
ColumnarArrayData.getDecimal(int pos,
int precision,
int scale) |
DecimalData |
ColumnarRowData.getDecimal(int pos,
int precision,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnarArrayData.setDecimal(int pos,
DecimalData value,
int precision) |
void |
ColumnarRowData.setDecimal(int pos,
DecimalData value,
int precision) |
| Modifier and Type | Method and Description |
|---|---|
DecimalData |
DecimalColumnVector.getDecimal(int i,
int precision,
int scale) |
DecimalData |
VectorizedColumnBatch.getDecimal(int rowId,
int colId,
int precision,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
DecimalData |
ProjectedRowData.getDecimal(int pos,
int precision,
int scale) |
DecimalData |
JoinedRowData.getDecimal(int pos,
int precision,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
static TimestampData |
DateTimeUtils.toTimestampData(DecimalData v,
int precision) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.