Package | Description |
---|---|
org.apache.hadoop.hive.ql.parse | |
org.apache.hadoop.hive.ql.udf.generic |
Standard toolkit and framework for generic User-defined functions.
|
org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive | |
org.apache.hadoop.hive.serde2.objectinspector.primitive | |
org.apache.hadoop.hive.serde2.typeinfo |
This package provides the implementation of the SerDe type system.
|
Modifier and Type | Method and Description |
---|---|
static DecimalTypeInfo |
ParseUtils.getDecimalTypeTypeInfo(ASTNode node) |
Modifier and Type | Method and Description |
---|---|
protected DecimalTypeInfo |
GenericUDFBaseNumeric.adjustPrecScale(int precision,
int scale)
Create DecimalTypeInfo from input precision/scale, adjusting if necessary to fit max precision
|
protected DecimalTypeInfo |
GenericUDFBaseNumeric.deriveResultDecimalTypeInfo()
Derive the object inspector instance for the decimal result of the operator.
|
protected abstract DecimalTypeInfo |
GenericUDFBaseNumeric.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFPosMod.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPDivide.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPNumericMinus.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPMod.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPMultiply.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPNumericPlus.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
static DecimalTypeInfo |
GenericUDAFAverage.deriveSumFieldTypeInfo(int precision,
int scale)
The intermediate sum field has 10 more integer digits with the same scale.
|
DecimalTypeInfo |
GenericUDFToDecimal.getTypeInfo() |
Modifier and Type | Method and Description |
---|---|
void |
GenericUDFToDecimal.setTypeInfo(DecimalTypeInfo typeInfo) |
Constructor and Description |
---|
LazyHiveDecimalObjectInspector(DecimalTypeInfo typeInfo) |
Constructor and Description |
---|
JavaHiveDecimalObjectInspector(DecimalTypeInfo typeInfo) |
WritableHiveDecimalObjectInspector(DecimalTypeInfo typeInfo) |
Modifier and Type | Field and Description |
---|---|
static DecimalTypeInfo |
TypeInfoFactory.decimalTypeInfo
A DecimalTypeInfo instance that has max precision and max scale.
|
Modifier and Type | Method and Description |
---|---|
static DecimalTypeInfo |
HiveDecimalUtils.getDecimalTypeForPrimitiveCategory(PrimitiveTypeInfo a) |
static DecimalTypeInfo |
TypeInfoFactory.getDecimalTypeInfo(int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hive.common.type.HiveDecimal |
HiveDecimalUtils.enforcePrecisionScale(org.apache.hadoop.hive.common.type.HiveDecimal dec,
DecimalTypeInfo typeInfo) |
static org.apache.hadoop.hive.serde2.io.HiveDecimalWritable |
HiveDecimalUtils.enforcePrecisionScale(org.apache.hadoop.hive.serde2.io.HiveDecimalWritable writable,
DecimalTypeInfo typeInfo) |
Copyright © 2021 The Apache Software Foundation. All rights reserved.