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.fast | |
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.deriveResultDecimalTypeInfo()
Derive the object inspector instance for the decimal result of the operator.
|
protected DecimalTypeInfo |
GenericUDFPosMod.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPNumericPlus.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPNumericMinus.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPMultiply.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPMod.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected DecimalTypeInfo |
GenericUDFOPDivide.deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2)
A balanced way to determine the precision/scale of decimal division result.
|
protected abstract DecimalTypeInfo |
GenericUDFBaseNumeric.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) |
Modifier and Type | Field and Description |
---|---|
protected DecimalTypeInfo |
DeserializeRead.ReadDecimalResults.decimalTypeInfo |
Modifier and Type | Method and Description |
---|---|
void |
DeserializeRead.ReadDecimalResults.init(DecimalTypeInfo decimalTypeInfo) |
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 HiveDecimal |
HiveDecimalUtils.enforcePrecisionScale(HiveDecimal dec,
DecimalTypeInfo typeInfo) |
static HiveDecimalWritable |
HiveDecimalUtils.enforcePrecisionScale(HiveDecimalWritable writable,
DecimalTypeInfo typeInfo) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.