Modifier and Type | Method and Description |
---|---|
Decimal |
PartitionSettedRow.getDecimal(int pos,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
Decimal |
CastedRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
DefaultValueRow.getDecimal(int pos,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
Decimal |
Decimal.copy()
Returns a copy of this
Decimal object. |
static Decimal |
Decimal.fromBigDecimal(BigDecimal bd,
int precision,
int scale)
Creates an instance of
Decimal from a BigDecimal and the given precision and
scale. |
static Decimal |
Decimal.fromUnscaledBytes(byte[] unscaledBytes,
int precision,
int scale)
Creates an instance of
Decimal from an unscaled byte array value and the given
precision and scale. |
static Decimal |
Decimal.fromUnscaledLong(long unscaledLong,
int precision,
int scale)
Creates an instance of
Decimal from an unscaled long value and the given precision
and scale. |
Decimal |
LazyGenericRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
NestedRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
BinaryArray.getDecimal(int pos,
int precision,
int scale) |
Decimal |
GenericArray.getDecimal(int pos,
int precision,
int scale) |
Decimal |
GenericRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
DataGetters.getDecimal(int pos,
int precision,
int scale)
Returns the decimal value at the given position.
|
Decimal |
JoinedRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
BinaryRow.getDecimal(int pos,
int precision,
int scale) |
static Decimal |
Decimal.zero(int precision,
int scale)
Creates an instance of
Decimal for a zero value with the given precision and scale. |
Modifier and Type | Method and Description |
---|---|
int |
Decimal.compareTo(Decimal that) |
void |
NestedRow.setDecimal(int pos,
Decimal value,
int precision) |
void |
BinaryArray.setDecimal(int pos,
Decimal value,
int precision) |
void |
DataSetters.setDecimal(int pos,
Decimal value,
int precision)
Set the decimal column value.
|
void |
BinaryRow.setDecimal(int pos,
Decimal value,
int precision) |
void |
BinaryWriter.writeDecimal(int pos,
Decimal value,
int precision) |
Modifier and Type | Method and Description |
---|---|
Decimal |
ColumnarArray.getDecimal(int pos,
int precision,
int scale) |
Decimal |
ColumnarRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
DecimalColumnVector.getDecimal(int i,
int precision,
int scale) |
Decimal |
VectorizedColumnBatch.getDecimal(int rowId,
int colId,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
void |
ColumnarArray.setDecimal(int pos,
Decimal value,
int precision) |
void |
ColumnarRow.setDecimal(int pos,
Decimal value,
int precision) |
Modifier and Type | Method and Description |
---|---|
Decimal |
SafeBinaryRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
SafeBinaryArray.getDecimal(int pos,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
Decimal |
DecimalSerializer.copy(Decimal from) |
Decimal |
DecimalSerializer.deserialize(DataInputView source) |
Decimal |
DecimalSerializer.deserializeFromString(String s) |
Modifier and Type | Method and Description |
---|---|
Decimal |
DecimalSerializer.copy(Decimal from) |
void |
DecimalSerializer.serialize(Decimal record,
DataOutputView target) |
String |
DecimalSerializer.serializeToString(Decimal record) |
Modifier and Type | Method and Description |
---|---|
static Decimal |
FlinkRowWrapper.fromFlinkDecimal(org.apache.flink.table.data.DecimalData decimal) |
Decimal |
FlinkRowWrapper.getDecimal(int pos,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.table.data.DecimalData |
FlinkRowData.toFlinkDecimal(Decimal decimal) |
Modifier and Type | Method and Description |
---|---|
Decimal |
OrcDecimalColumnVector.getDecimal(int i,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
Decimal |
ParquetDecimalVector.getDecimal(int i,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
Decimal |
PaimonDecimalObjectInspector.convert(Object o) |
Decimal |
HivePaimonArray.getDecimal(int i,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
static Decimal |
MemorySegmentUtils.readDecimal(MemorySegment[] segments,
int baseOffset,
long offsetAndSize,
int precision,
int scale)
Gets an instance of
Decimal from underlying MemorySegment . |
Modifier and Type | Method and Description |
---|---|
Decimal |
SparkRow.getDecimal(int i,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
static org.apache.spark.sql.types.Decimal |
SparkInternalRow.fromPaimon(Decimal decimal) |
Modifier and Type | Method and Description |
---|---|
static Decimal |
DecimalUtils.add(Decimal v1,
Decimal v2,
int precision,
int scale) |
static Decimal |
DecimalUtils.castFrom(BinaryString string,
int precision,
int scale) |
static Decimal |
DecimalUtils.castFrom(Decimal dec,
int precision,
int scale) |
static Decimal |
DecimalUtils.castFrom(double val,
int p,
int s) |
static Decimal |
DecimalUtils.castFrom(long val,
int p,
int s) |
static Decimal |
DecimalUtils.castFrom(String string,
int precision,
int scale) |
static Decimal |
DecimalUtils.castToDecimal(Decimal dec,
int precision,
int scale) |
Decimal |
PartialRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
OffsetRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
KeyProjectedRow.getDecimal(int pos,
int precision,
int scale) |
Decimal |
ProjectedRow.getDecimal(int pos,
int precision,
int scale) |
static Decimal |
DecimalUtils.subtract(Decimal v1,
Decimal v2,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
static Decimal |
DecimalUtils.add(Decimal v1,
Decimal v2,
int precision,
int scale) |
static Decimal |
DecimalUtils.castFrom(Decimal dec,
int precision,
int scale) |
static boolean |
DecimalUtils.castToBoolean(Decimal dec) |
static Decimal |
DecimalUtils.castToDecimal(Decimal dec,
int precision,
int scale) |
static long |
InternalRowUtils.castToIntegral(Decimal dec) |
static long |
DecimalUtils.castToIntegral(Decimal dec) |
static double |
DecimalUtils.doubleValue(Decimal decimal) |
static void |
SortUtil.putDecimalNormalizedKey(Decimal record,
MemorySegment target,
int offset,
int len)
Just support the compact precision decimal.
|
static Decimal |
DecimalUtils.subtract(Decimal v1,
Decimal v2,
int precision,
int scale) |
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.