Modifier and Type | Field and Description |
---|---|
HiveDecimal |
RandomTypeUtil.HiveDecimalAndPrecisionScale.hiveDecimal |
static HiveDecimal |
HiveDecimal.ONE |
static HiveDecimal |
HiveDecimal.ZERO |
Modifier and Type | Method and Description |
---|---|
HiveDecimal |
HiveDecimal.abs() |
HiveDecimal |
HiveDecimal.add(HiveDecimal dec) |
static HiveDecimal |
HiveDecimal.create(BigDecimal b) |
static HiveDecimal |
HiveDecimal.create(BigDecimal b,
boolean allowRounding) |
static HiveDecimal |
HiveDecimal.create(BigInteger bi) |
static HiveDecimal |
HiveDecimal.create(BigInteger unscaled,
int scale) |
static HiveDecimal |
HiveDecimal.create(int i) |
static HiveDecimal |
HiveDecimal.create(long l) |
static HiveDecimal |
HiveDecimal.create(String dec) |
HiveDecimal |
HiveDecimal.divide(HiveDecimal dec) |
static HiveDecimal |
HiveDecimal.enforcePrecisionScale(HiveDecimal dec,
int maxPrecision,
int maxScale) |
HiveDecimal |
HiveDecimal.multiply(HiveDecimal dec) |
HiveDecimal |
HiveDecimal.negate() |
HiveDecimal |
HiveDecimal.pow(int n) |
HiveDecimal |
HiveDecimal.remainder(HiveDecimal dec) |
HiveDecimal |
HiveDecimal.scaleByPowerOfTen(int n) |
HiveDecimal |
HiveDecimal.setScale(int i) |
HiveDecimal |
HiveDecimal.setScale(int adjustedScale,
int rm) |
HiveDecimal |
HiveDecimal.subtract(HiveDecimal dec) |
Modifier and Type | Method and Description |
---|---|
HiveDecimal |
HiveDecimal.add(HiveDecimal dec) |
int |
HiveDecimal.compareTo(HiveDecimal dec) |
HiveDecimal |
HiveDecimal.divide(HiveDecimal dec) |
static HiveDecimal |
HiveDecimal.enforcePrecisionScale(HiveDecimal dec,
int maxPrecision,
int maxScale) |
HiveDecimal |
HiveDecimal.multiply(HiveDecimal dec) |
HiveDecimal |
HiveDecimal.remainder(HiveDecimal dec) |
HiveDecimal |
HiveDecimal.subtract(HiveDecimal dec) |
Modifier and Type | Method and Description |
---|---|
void |
NumDistinctValueEstimator.addToEstimator(HiveDecimal decimal) |
void |
NumDistinctValueEstimator.addToEstimatorPCSA(HiveDecimal decimal) |
Modifier and Type | Method and Description |
---|---|
void |
DecimalColumnVector.fill(HiveDecimal value) |
void |
DecimalColumnVector.set(int elementNum,
HiveDecimal hiveDec) |
Modifier and Type | Method and Description |
---|---|
HiveDecimal |
ConstantVectorExpression.getDecimalValue() |
Modifier and Type | Method and Description |
---|---|
static void |
DecimalUtil.abs(int i,
HiveDecimal input,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.addChecked(int i,
HiveDecimal left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.addChecked(int i,
HiveDecimal left,
HiveDecimalWritable right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.addChecked(int i,
HiveDecimalWritable left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.ceiling(int i,
HiveDecimal input,
DecimalColumnVector outputColVector) |
static int |
DecimalUtil.compare(HiveDecimal left,
HiveDecimalWritable writableRight) |
static int |
DecimalUtil.compare(HiveDecimalWritable writableLeft,
HiveDecimal right) |
static void |
DecimalUtil.divideChecked(int i,
HiveDecimal left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.divideChecked(int i,
HiveDecimal left,
HiveDecimalWritable right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.divideChecked(int i,
HiveDecimalWritable left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.floor(int i,
HiveDecimal input,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.moduloChecked(int i,
HiveDecimal left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.moduloChecked(int i,
HiveDecimal left,
HiveDecimalWritable right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.moduloChecked(int i,
HiveDecimalWritable left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.multiplyChecked(int i,
HiveDecimal left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.multiplyChecked(int i,
HiveDecimal left,
HiveDecimalWritable right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.multiplyChecked(int i,
HiveDecimalWritable left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.negate(int i,
HiveDecimal input,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.round(int i,
HiveDecimal input,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.round(int i,
HiveDecimal input,
int decimalPlaces,
DecimalColumnVector outputColVector) |
void |
ConstantVectorExpression.setDecimalValue(HiveDecimal decimalValue) |
void |
IDecimalInExpr.setInListValues(HiveDecimal[] inVals) |
void |
FilterDecimalColumnInList.setInListValues(HiveDecimal[] a) |
void |
DecimalColumnInList.setInListValues(HiveDecimal[] a) |
static void |
DecimalUtil.sign(int i,
HiveDecimal input,
LongColumnVector outputColVector) |
static void |
DecimalUtil.subtractChecked(int i,
HiveDecimal left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.subtractChecked(int i,
HiveDecimal left,
HiveDecimalWritable right,
DecimalColumnVector outputColVector) |
static void |
DecimalUtil.subtractChecked(int i,
HiveDecimalWritable left,
HiveDecimal right,
DecimalColumnVector outputColVector) |
Object |
VectorExpressionWriter.writeValue(HiveDecimal value) |
Constructor and Description |
---|
ConstantVectorExpression(int outputColumn,
HiveDecimal value,
String typeName) |
Modifier and Type | Method and Description |
---|---|
static HiveDecimal |
RoundUtils.bround(HiveDecimal input,
int scale) |
static HiveDecimal |
RoundUtils.round(HiveDecimal input,
int scale) |
protected HiveDecimal |
GenericUDFRound.round(HiveDecimal input,
int scale) |
protected HiveDecimal |
GenericUDFBRound.round(HiveDecimal input,
int scale) |
Modifier and Type | Method and Description |
---|---|
void |
NumDistinctValueEstimator.addToEstimator(HiveDecimal decimal) |
void |
DecimalNumDistinctValueEstimator.addToEstimator(HiveDecimal decimal) |
void |
NumDistinctValueEstimator.addToEstimatorPCSA(HiveDecimal decimal) |
void |
DecimalNumDistinctValueEstimator.addToEstimatorPCSA(HiveDecimal decimal) |
static HiveDecimal |
RoundUtils.bround(HiveDecimal input,
int scale) |
protected HiveDecimalWritable |
GenericUDFPosMod.evaluate(HiveDecimal left,
HiveDecimal right) |
protected HiveDecimalWritable |
GenericUDFOPNumericPlus.evaluate(HiveDecimal left,
HiveDecimal right) |
protected HiveDecimalWritable |
GenericUDFOPNumericMinus.evaluate(HiveDecimal left,
HiveDecimal right) |
protected HiveDecimalWritable |
GenericUDFOPMultiply.evaluate(HiveDecimal left,
HiveDecimal right) |
protected HiveDecimalWritable |
GenericUDFOPMod.evaluate(HiveDecimal left,
HiveDecimal right) |
protected HiveDecimalWritable |
GenericUDFOPDivide.evaluate(HiveDecimal left,
HiveDecimal right) |
protected HiveDecimalWritable |
GenericUDFBaseNumeric.evaluate(HiveDecimal left,
HiveDecimal right) |
static HiveDecimal |
RoundUtils.round(HiveDecimal input,
int scale) |
protected HiveDecimal |
GenericUDFRound.round(HiveDecimal input,
int scale) |
protected HiveDecimal |
GenericUDFBRound.round(HiveDecimal input,
int scale) |
Modifier and Type | Method and Description |
---|---|
protected void |
GenericUDAFAverage.GenericUDAFAverageEvaluatorDecimal.doIterate(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage.AverageAggregationBuffer<HiveDecimal> aggregation,
PrimitiveObjectInspector oi,
Object parameter) |
protected void |
GenericUDAFAverage.GenericUDAFAverageEvaluatorDecimal.doMerge(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage.AverageAggregationBuffer<HiveDecimal> aggregation,
Long partialCount,
ObjectInspector sumFieldOI,
Object partialSum) |
void |
GenericUDAFAverage.GenericUDAFAverageEvaluatorDecimal.doReset(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage.AverageAggregationBuffer<HiveDecimal> aggregation) |
protected Object |
GenericUDAFAverage.GenericUDAFAverageEvaluatorDecimal.doTerminate(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage.AverageAggregationBuffer<HiveDecimal> aggregation) |
protected void |
GenericUDAFAverage.GenericUDAFAverageEvaluatorDecimal.doTerminatePartial(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage.AverageAggregationBuffer<HiveDecimal> aggregation) |
Modifier and Type | Method and Description |
---|---|
static Timestamp |
TimestampUtils.decimalToTimestamp(HiveDecimal d) |
Modifier and Type | Method and Description |
---|---|
static HiveDecimal |
AvroSerdeUtils.getHiveDecimalFromByteBuffer(ByteBuffer byteBuffer,
int scale) |
Modifier and Type | Method and Description |
---|---|
static Buffer |
AvroSerdeUtils.getBufferFromDecimal(HiveDecimal dec,
int scale) |
Modifier and Type | Method and Description |
---|---|
static void |
BinarySortableSerDe.serializeHiveDecimal(ByteStream.Output buffer,
HiveDecimal dec,
boolean invert) |
Modifier and Type | Method and Description |
---|---|
void |
BinarySortableSerializeWrite.writeHiveDecimal(HiveDecimal dec,
int scale) |
Modifier and Type | Method and Description |
---|---|
void |
SerializeWrite.writeHiveDecimal(HiveDecimal dec,
int scale) |
Modifier and Type | Method and Description |
---|---|
HiveDecimal |
TimestampWritable.getHiveDecimal() |
HiveDecimal |
HiveDecimalWritable.getHiveDecimal() |
HiveDecimal |
HiveDecimalWritable.getHiveDecimal(int maxPrecision,
int maxScale)
Get a HiveDecimal instance from the writable and constraint it with maximum precision/scale.
|
static HiveDecimal |
TimestampWritable.getHiveDecimal(Timestamp timestamp) |
Modifier and Type | Method and Description |
---|---|
void |
HiveDecimalWritable.set(HiveDecimal value) |
void |
HiveDecimalWritable.set(HiveDecimal value,
int maxPrecision,
int maxScale) |
Constructor and Description |
---|
HiveDecimalWritable(HiveDecimal value) |
Modifier and Type | Method and Description |
---|---|
static void |
LazyHiveDecimal.writeUTF8(OutputStream outputStream,
HiveDecimal hiveDecimal,
int scale)
Writes HiveDecimal object to output stream as string
|
Modifier and Type | Method and Description |
---|---|
void |
LazySimpleSerializeWrite.writeHiveDecimal(HiveDecimal v,
int scale) |
Modifier and Type | Method and Description |
---|---|
HiveDecimal |
LazyHiveDecimalObjectInspector.getPrimitiveJavaObject(Object o) |
Modifier and Type | Method and Description |
---|---|
void |
LazyBinarySerializeWrite.writeHiveDecimal(HiveDecimal v,
int scale) |
Modifier and Type | Method and Description |
---|---|
static HiveDecimal |
PrimitiveObjectInspectorUtils.getHiveDecimal(Object o,
PrimitiveObjectInspector oi) |
HiveDecimal |
WritableHiveDecimalObjectInspector.getPrimitiveJavaObject(Object o) |
HiveDecimal |
JavaHiveDecimalObjectInspector.getPrimitiveJavaObject(Object o) |
HiveDecimal |
HiveDecimalObjectInspector.getPrimitiveJavaObject(Object o) |
Modifier and Type | Method and Description |
---|---|
Object |
WritableHiveDecimalObjectInspector.create(HiveDecimal t) |
Object |
SettableHiveDecimalObjectInspector.create(HiveDecimal t) |
Object |
JavaHiveDecimalObjectInspector.create(HiveDecimal t) |
Object |
WritableHiveDecimalObjectInspector.set(Object o,
HiveDecimal t) |
Object |
SettableHiveDecimalObjectInspector.set(Object o,
HiveDecimal t) |
Object |
JavaHiveDecimalObjectInspector.set(Object o,
HiveDecimal t) |
Constructor and Description |
---|
JavaConstantHiveDecimalObjectInspector(HiveDecimal value) |
Modifier and Type | Method and Description |
---|---|
static HiveDecimal |
HiveDecimalUtils.enforcePrecisionScale(HiveDecimal dec,
DecimalTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
static HiveDecimal |
HiveDecimalUtils.enforcePrecisionScale(HiveDecimal dec,
DecimalTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
HiveDecimal |
HCatRecord.getDecimal(String fieldName,
HCatSchema recordSchema) |
Modifier and Type | Method and Description |
---|---|
void |
HCatRecord.setDecimal(String fieldName,
HCatSchema recordSchema,
HiveDecimal value) |
Modifier and Type | Method and Description |
---|---|
HiveDecimal |
DecimalColumnStatistics.getMaximum()
Get the maximum value for the column.
|
HiveDecimal |
DecimalColumnStatistics.getMinimum()
Get the minimum value for the column.
|
HiveDecimal |
DecimalColumnStatistics.getSum()
Get the sum of the values of the column.
|
Modifier and Type | Method and Description |
---|---|
protected HiveDecimal |
ConvertTreeReaderFactory.ConvertTreeReader.parseDecimalFromString(String string) |
Modifier and Type | Method and Description |
---|---|
void |
ColumnStatisticsImpl.updateDecimal(HiveDecimal value) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.