Modifier and Type | Method and Description |
---|---|
Decimal |
OrcDecimalColumnVector.getDecimal(int i,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
Decimal |
Decimal.abs() |
static Decimal |
Decimal.add(Decimal v1,
Decimal v2,
int precision,
int scale) |
static Decimal |
Decimal.castFrom(boolean val,
int p,
int s) |
static Decimal |
Decimal.castFrom(Decimal dec,
int precision,
int scale) |
static Decimal |
Decimal.castFrom(double val,
int p,
int s) |
static Decimal |
Decimal.castFrom(long val,
int p,
int s) |
static Decimal |
Decimal.castFrom(String string,
int precision,
int scale) |
static Decimal |
Decimal.castToDecimal(Decimal dec,
int precision,
int scale) |
Decimal |
Decimal.ceil() |
Decimal |
Decimal.copy() |
static Decimal |
Decimal.divide(Decimal v1,
Decimal v2,
int precision,
int scale) |
static Decimal |
Decimal.divideToIntegralValue(Decimal value,
Decimal divisor,
int precision,
int scale)
Returns a
Decimal whose value is the integer part
of the quotient (this / divisor) rounded down. |
Decimal |
Decimal.floor() |
static Decimal |
Decimal.fromBigDecimal(BigDecimal bd,
int precision,
int scale) |
static Decimal |
Decimal.fromLong(long l,
int precision,
int scale) |
static Decimal |
Decimal.fromUnscaledBytes(int precision,
int scale,
byte[] bytes) |
static Decimal |
Decimal.fromUnscaledLong(int precision,
int scale,
long longVal) |
Decimal |
TypeGetterSetters.getDecimal(int ordinal,
int precision,
int scale)
Get decimal value, internal format is Decimal.
|
Decimal |
BinaryRow.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 |
UpdatableRow.getDecimal(int ordinal,
int precision,
int scale) |
Decimal |
JoinedRow.getDecimal(int i,
int precision,
int scale) |
Decimal |
ObjectArrayRow.getDecimal(int ordinal,
int precision,
int scale) |
Decimal |
ColumnarRow.getDecimal(int ordinal,
int precision,
int scale) |
Decimal |
GenericArray.getDecimal(int pos,
int precision,
int scale) |
static Decimal |
Decimal.mod(Decimal v1,
Decimal v2,
int precision,
int scale) |
static Decimal |
Decimal.multiply(Decimal v1,
Decimal v2,
int precision,
int scale) |
Decimal |
Decimal.negate() |
static Decimal |
Decimal.sign(Decimal b0)
SQL
SIGN operator applied to BigDecimal values. |
static Decimal |
Decimal.sround(Decimal b0,
int r)
SQL
ROUND operator applied to BigDecimal values. |
static Decimal |
Decimal.subtract(Decimal v1,
Decimal v2,
int precision,
int scale) |
static Decimal |
BinaryStringUtil.toDecimal(BinaryString str,
int precision,
int scale)
Parses this BinaryString to Decimal.
|
static Decimal |
Decimal.zero(int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
static Decimal |
Decimal.add(Decimal v1,
Decimal v2,
int precision,
int scale) |
static Decimal |
Decimal.castFrom(Decimal dec,
int precision,
int scale) |
static boolean |
Decimal.castToBoolean(Decimal dec) |
static byte |
Decimal.castToByte(Decimal dec) |
static Decimal |
Decimal.castToDecimal(Decimal dec,
int precision,
int scale) |
static double |
Decimal.castToDouble(Decimal dec) |
static float |
Decimal.castToFloat(Decimal dec) |
static int |
Decimal.castToInt(Decimal dec) |
static long |
Decimal.castToIntegral(Decimal dec) |
static long |
Decimal.castToLong(Decimal dec) |
static short |
Decimal.castToShort(Decimal dec) |
static long |
Decimal.castToTimestamp(Decimal dec) |
static int |
Decimal.compare(Decimal b1,
Decimal b2) |
static int |
Decimal.compare(Decimal b1,
double n2) |
static int |
Decimal.compare(Decimal b1,
long n2) |
static int |
Decimal.compare(double n1,
Decimal b2) |
static int |
Decimal.compare(long n1,
Decimal b2) |
int |
Decimal.compareTo(Decimal that) |
static Decimal |
Decimal.divide(Decimal v1,
Decimal v2,
int precision,
int scale) |
static Decimal |
Decimal.divideToIntegralValue(Decimal value,
Decimal divisor,
int precision,
int scale)
Returns a
Decimal whose value is the integer part
of the quotient (this / divisor) rounded down. |
static Decimal |
Decimal.mod(Decimal v1,
Decimal v2,
int precision,
int scale) |
static Decimal |
Decimal.multiply(Decimal v1,
Decimal v2,
int precision,
int scale) |
void |
TypeGetterSetters.setDecimal(int i,
Decimal value,
int precision)
Set the decimal column value.
|
void |
BinaryRow.setDecimal(int pos,
Decimal value,
int precision) |
void |
NestedRow.setDecimal(int pos,
Decimal value,
int precision) |
void |
BinaryArray.setDecimal(int pos,
Decimal value,
int precision) |
void |
UpdatableRow.setDecimal(int ordinal,
Decimal value,
int precision) |
void |
JoinedRow.setDecimal(int i,
Decimal value,
int precision) |
void |
ObjectArrayRow.setDecimal(int i,
Decimal value,
int precision) |
void |
ColumnarRow.setDecimal(int ordinal,
Decimal value,
int precision) |
void |
GenericArray.setDecimal(int pos,
Decimal value,
int precision) |
static Decimal |
Decimal.sign(Decimal b0)
SQL
SIGN operator applied to BigDecimal values. |
static Decimal |
Decimal.sround(Decimal b0,
int r)
SQL
ROUND operator applied to BigDecimal values. |
static Decimal |
Decimal.subtract(Decimal v1,
Decimal v2,
int precision,
int scale) |
void |
AbstractBinaryWriter.writeDecimal(int pos,
Decimal value,
int precision) |
void |
BinaryWriter.writeDecimal(int pos,
Decimal value,
int precision) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
protected TypeSerializer<Decimal> |
FirstValueWithRetractAggFunction.DecimalFirstValueWithRetractAggFunction.createValueSerializer() |
protected TypeSerializer<Decimal> |
LastValueWithRetractAggFunction.DecimalLastValueWithRetractAggFunction.createValueSerializer() |
TypeInformation<Decimal> |
LastValueAggFunction.DecimalLastValueAggFunction.getResultType() |
TypeInformation<Decimal> |
FirstValueAggFunction.DecimalFirstValueAggFunction.getResultType() |
TypeInformation<Decimal> |
FirstValueWithRetractAggFunction.DecimalFirstValueWithRetractAggFunction.getResultType() |
TypeInformation<Decimal> |
LastValueWithRetractAggFunction.DecimalLastValueWithRetractAggFunction.getResultType() |
protected TypeInformation<Decimal> |
MaxWithRetractAggFunction.DecimalMaxWithRetractAggFunction.getValueTypeInfo() |
protected TypeInformation<Decimal> |
MinWithRetractAggFunction.DecimalMinWithRetractAggFunction.getValueTypeInfo() |
Modifier and Type | Method and Description |
---|---|
void |
LastValueAggFunction.DecimalLastValueAggFunction.accumulate(GenericRow acc,
Decimal value) |
void |
FirstValueAggFunction.DecimalFirstValueAggFunction.accumulate(GenericRow acc,
Decimal value) |
void |
FirstValueWithRetractAggFunction.DecimalFirstValueWithRetractAggFunction.accumulate(GenericRow acc,
Decimal value) |
void |
LastValueWithRetractAggFunction.DecimalLastValueWithRetractAggFunction.accumulate(GenericRow acc,
Decimal value) |
void |
LastValueAggFunction.DecimalLastValueAggFunction.accumulate(GenericRow acc,
Decimal value,
Long order) |
void |
FirstValueAggFunction.DecimalFirstValueAggFunction.accumulate(GenericRow acc,
Decimal value,
Long order) |
void |
FirstValueWithRetractAggFunction.DecimalFirstValueWithRetractAggFunction.accumulate(GenericRow acc,
Decimal value,
Long order) |
void |
LastValueWithRetractAggFunction.DecimalLastValueWithRetractAggFunction.accumulate(GenericRow acc,
Decimal value,
Long order) |
void |
MaxWithRetractAggFunction.DecimalMaxWithRetractAggFunction.accumulate(MaxWithRetractAggFunction.MaxWithRetractAccumulator<Decimal> acc,
Decimal value) |
void |
MinWithRetractAggFunction.DecimalMinWithRetractAggFunction.accumulate(MinWithRetractAggFunction.MinWithRetractAccumulator<Decimal> acc,
Decimal value) |
void |
MaxWithRetractAggFunction.DecimalMaxWithRetractAggFunction.retract(MaxWithRetractAggFunction.MaxWithRetractAccumulator<Decimal> acc,
Decimal value) |
void |
MinWithRetractAggFunction.DecimalMinWithRetractAggFunction.retract(MinWithRetractAggFunction.MinWithRetractAccumulator<Decimal> acc,
Decimal value) |
Modifier and Type | Method and Description |
---|---|
void |
MaxWithRetractAggFunction.DecimalMaxWithRetractAggFunction.accumulate(MaxWithRetractAggFunction.MaxWithRetractAccumulator<Decimal> acc,
Decimal value) |
void |
MinWithRetractAggFunction.DecimalMinWithRetractAggFunction.accumulate(MinWithRetractAggFunction.MinWithRetractAccumulator<Decimal> acc,
Decimal value) |
void |
MaxWithRetractAggFunction.DecimalMaxWithRetractAggFunction.retract(MaxWithRetractAggFunction.MaxWithRetractAccumulator<Decimal> acc,
Decimal value) |
void |
MinWithRetractAggFunction.DecimalMinWithRetractAggFunction.retract(MinWithRetractAggFunction.MinWithRetractAccumulator<Decimal> acc,
Decimal value) |
Modifier and Type | Method and Description |
---|---|
static Decimal |
SqlFunctionUtils.abs(Decimal a) |
static Decimal |
SqlFunctionUtils.ceil(Decimal a) |
static Decimal |
SqlFunctionUtils.floor(Decimal a) |
static Decimal |
SqlFunctionUtils.sign(Decimal b0) |
static Decimal |
SqlFunctionUtils.sround(Decimal b0)
SQL
ROUND operator applied to Decimal values. |
static Decimal |
SqlFunctionUtils.sround(Decimal b0,
int b1)
SQL
ROUND operator applied to Decimal values. |
static Decimal |
SqlFunctionUtils.struncate(Decimal b0)
SQL
TRUNCATE operator applied to BigDecimal values. |
static Decimal |
SqlFunctionUtils.struncate(Decimal b0,
int b1) |
Modifier and Type | Method and Description |
---|---|
static Decimal |
SqlFunctionUtils.abs(Decimal a) |
static double |
SqlFunctionUtils.acos(Decimal a) |
static double |
SqlFunctionUtils.asin(Decimal a) |
static double |
SqlFunctionUtils.atan(Decimal a) |
static double |
SqlFunctionUtils.atan2(Decimal y,
Decimal x) |
static Decimal |
SqlFunctionUtils.ceil(Decimal a) |
static double |
SqlFunctionUtils.cos(Decimal a) |
static double |
SqlFunctionUtils.cosh(Decimal x) |
static double |
SqlFunctionUtils.cot(Decimal a) |
static double |
SqlFunctionUtils.degrees(Decimal angrad) |
static double |
SqlFunctionUtils.exp(Decimal d) |
static Decimal |
SqlFunctionUtils.floor(Decimal a) |
static String |
SqlDateTimeUtils.fromUnixtime(Decimal unixtime) |
static String |
SqlDateTimeUtils.fromUnixtime(Decimal unixtime,
TimeZone tz) |
static double |
SqlFunctionUtils.log(Decimal x) |
static double |
SqlFunctionUtils.log(Decimal base,
Decimal x) |
static double |
SqlFunctionUtils.log(Decimal base,
double x) |
static double |
SqlFunctionUtils.log(double base,
Decimal x) |
static double |
SqlFunctionUtils.log10(Decimal x) |
static double |
SqlFunctionUtils.log2(Decimal x) |
static double |
SqlFunctionUtils.power(Decimal base,
Decimal exponent) |
static double |
SqlFunctionUtils.power(Decimal base,
double exponent) |
static double |
SqlFunctionUtils.power(double base,
Decimal exponent) |
static double |
SqlFunctionUtils.radians(Decimal angdeg) |
static Decimal |
SqlFunctionUtils.sign(Decimal b0) |
static double |
SqlFunctionUtils.sin(Decimal a) |
static double |
SqlFunctionUtils.sinh(Decimal a) |
static Decimal |
SqlFunctionUtils.sround(Decimal b0)
SQL
ROUND operator applied to Decimal values. |
static Decimal |
SqlFunctionUtils.sround(Decimal b0,
int b1)
SQL
ROUND operator applied to Decimal values. |
static Decimal |
SqlFunctionUtils.struncate(Decimal b0)
SQL
TRUNCATE operator applied to BigDecimal values. |
static Decimal |
SqlFunctionUtils.struncate(Decimal b0,
int b1) |
static double |
SqlFunctionUtils.tan(Decimal a) |
static double |
SqlFunctionUtils.tanh(Decimal a)
Calculates the hyperbolic tangent of a big decimal number.
|
static long |
SqlDateTimeUtils.toTimestamp(Decimal v) |
Modifier and Type | Method and Description |
---|---|
static void |
SortUtil.putDecimalNormalizedKey(Decimal record,
MemorySegment target,
int offset,
int len)
Just support the compact precision decimal.
|
Modifier and Type | Method and Description |
---|---|
Decimal |
DecimalSerializer.copy(Decimal from) |
Decimal |
DecimalSerializer.copy(Decimal from,
Decimal reuse) |
Decimal |
DecimalSerializer.createInstance() |
Decimal |
DecimalSerializer.deserialize(DataInputView source) |
Decimal |
DecimalSerializer.deserialize(Decimal record,
DataInputView source) |
Modifier and Type | Method and Description |
---|---|
TypeSerializer<Decimal> |
DecimalTypeInfo.createSerializer(ExecutionConfig config) |
TypeInformation<Decimal> |
DecimalTypeInfoFactory.createTypeInfo(Type t,
Map<String,TypeInformation<?>> genericParameters) |
Class<Decimal> |
DecimalTypeInfo.getTypeClass() |
TypeSerializerSchemaCompatibility<Decimal> |
DecimalSerializer.DecimalSerializerSnapshot.resolveSchemaCompatibility(TypeSerializer<Decimal> newSerializer) |
TypeSerializer<Decimal> |
DecimalSerializer.DecimalSerializerSnapshot.restoreSerializer() |
TypeSerializerSnapshot<Decimal> |
DecimalSerializer.snapshotConfiguration() |
Modifier and Type | Method and Description |
---|---|
Decimal |
DecimalSerializer.copy(Decimal from) |
Decimal |
DecimalSerializer.copy(Decimal from,
Decimal reuse) |
Decimal |
DecimalSerializer.deserialize(Decimal record,
DataInputView source) |
void |
DecimalSerializer.serialize(Decimal record,
DataOutputView target) |
Modifier and Type | Method and Description |
---|---|
TypeSerializerSchemaCompatibility<Decimal> |
DecimalSerializer.DecimalSerializerSnapshot.resolveSchemaCompatibility(TypeSerializer<Decimal> newSerializer) |
Modifier and Type | Method and Description |
---|---|
Decimal |
DecimalSerializer.copy(Decimal from) |
Decimal |
DecimalSerializer.copy(Decimal from,
Decimal reuse) |
Decimal |
DecimalSerializer.createInstance() |
Decimal |
DecimalSerializer.deserialize(DataInputView source) |
Decimal |
DecimalSerializer.deserialize(Decimal reuse,
DataInputView source) |
Modifier and Type | Method and Description |
---|---|
TypeSerializer<Decimal> |
DecimalSerializer.duplicate() |
TypeSerializerSchemaCompatibility<Decimal> |
DecimalSerializer.DecimalSerializerSnapshot.resolveSchemaCompatibility(TypeSerializer<Decimal> newSerializer) |
TypeSerializer<Decimal> |
DecimalSerializer.DecimalSerializerSnapshot.restoreSerializer() |
TypeSerializerSnapshot<Decimal> |
DecimalSerializer.snapshotConfiguration() |
Modifier and Type | Method and Description |
---|---|
Decimal |
DecimalSerializer.copy(Decimal from) |
Decimal |
DecimalSerializer.copy(Decimal from,
Decimal reuse) |
Decimal |
DecimalSerializer.deserialize(Decimal reuse,
DataInputView source) |
void |
DecimalSerializer.serialize(Decimal record,
DataOutputView target) |
Modifier and Type | Method and Description |
---|---|
TypeSerializerSchemaCompatibility<Decimal> |
DecimalSerializer.DecimalSerializerSnapshot.resolveSchemaCompatibility(TypeSerializer<Decimal> newSerializer) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.