Package | Description |
---|---|
org.apache.hadoop.hive.druid.serde | |
org.apache.hadoop.hive.ql.exec |
Hive QL execution tasks, operators, functions and other handlers.
|
org.apache.hadoop.hive.ql.exec.vector.keyseries | |
org.apache.hadoop.hive.ql.optimizer.calcite | |
org.apache.hadoop.hive.ql.optimizer.calcite.translator | |
org.apache.hadoop.hive.ql.optimizer.ppr | |
org.apache.hadoop.hive.ql.parse | |
org.apache.hadoop.hive.ql.plan | |
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 | |
org.apache.hadoop.hive.serde2.objectinspector.primitive | |
org.apache.hadoop.hive.serde2.typeinfo |
This package provides the implementation of the SerDe type system.
|
org.apache.hive.hcatalog.data.schema | |
org.apache.hive.service.cli |
Modifier and Type | Method and Description |
---|---|
static PrimitiveTypeInfo |
DruidSerDeUtils.convertDruidToHiveType(String typeName) |
Modifier and Type | Method and Description |
---|---|
static TypeInfo |
FunctionRegistry.getTypeInfoForPrimitiveCategory(PrimitiveTypeInfo a,
PrimitiveTypeInfo b,
PrimitiveObjectInspector.PrimitiveCategory typeCategory)
Given 2 TypeInfo types and the PrimitiveCategory selected as the common class between the two,
return a TypeInfo corresponding to the common PrimitiveCategory, and with type qualifiers
(if applicable) that match the 2 TypeInfo types.
|
static boolean |
FunctionRegistry.isExactNumericType(PrimitiveTypeInfo typeInfo)
Check if a type is exact (not approximate such as float and double).
|
static boolean |
FunctionRegistry.isNumericType(PrimitiveTypeInfo typeInfo)
Check if the given type is numeric.
|
Constructor and Description |
---|
VectorKeySeriesLongSerialized(int columnNum,
PrimitiveTypeInfo primitiveTypeInfo,
T serializeWrite) |
Modifier and Type | Method and Description |
---|---|
static org.apache.calcite.rel.core.AggregateCall |
HiveCalciteUtil.createSingleArgAggCall(String funcName,
org.apache.calcite.plan.RelOptCluster cluster,
PrimitiveTypeInfo typeInfo,
Integer pos,
org.apache.calcite.rel.type.RelDataType aggFnRetType) |
Modifier and Type | Method and Description |
---|---|
static org.apache.calcite.rel.type.RelDataType |
TypeConverter.convert(PrimitiveTypeInfo type,
org.apache.calcite.rel.type.RelDataTypeFactory dtFactory) |
Modifier and Type | Method and Description |
---|---|
static ObjectPair<PrimitiveObjectInspector,ExprNodeEvaluator> |
PartExprEvalUtils.prepareExpr(ExprNodeGenericFuncDesc expr,
List<String> partColumnNames,
List<PrimitiveTypeInfo> partColumnTypeInfos) |
static boolean |
PartitionPruner.prunePartitionNames(List<String> partColumnNames,
List<PrimitiveTypeInfo> partColumnTypeInfos,
ExprNodeGenericFuncDesc prunerExpr,
String defaultPartitionName,
List<String> partNames)
Prunes partition names to see if they match the prune expression.
|
Modifier and Type | Method and Description |
---|---|
static ExprNodeDesc |
ParseUtils.createConversionCast(ExprNodeDesc column,
PrimitiveTypeInfo tableFieldTypeInfo) |
Modifier and Type | Method and Description |
---|---|
static PrimitiveTypeInfo |
ExprNodeDescUtils.deriveMinArgumentCast(ExprNodeDesc childExpr,
TypeInfo targetType) |
PrimitiveTypeInfo |
VectorMapJoinDesc.HashTableKeyType.getPrimitiveTypeInfo() |
Modifier and Type | Method and Description |
---|---|
protected PrimitiveTypeInfo |
GenericUDFBaseNumeric.deriveResultApproxTypeInfo()
Default implementation for getting the approximate type info for the operator result.
|
protected PrimitiveTypeInfo |
GenericUDFOPDivide.deriveResultApproxTypeInfo() |
protected PrimitiveTypeInfo |
GenericUDFBaseNumeric.deriveResultExactTypeInfo()
Default implementation for getting the exact type info for the operator result.
|
protected PrimitiveTypeInfo |
GenericUDFOPDivide.deriveResultExactTypeInfo() |
protected PrimitiveTypeInfo |
GenericUDFOPDivide.deriveResultExactTypeInfoAnsiSql() |
protected PrimitiveTypeInfo |
GenericUDFOPDivide.deriveResultExactTypeInfoBackwardsCompat() |
Modifier and Type | Method and Description |
---|---|
protected abstract OI |
GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.getValueObjectInspector(PrimitiveTypeInfo typeInfo) |
protected LongObjectInspector |
GenericUDAFComputeStats.GenericUDAFLongStatsEvaluator.getValueObjectInspector(PrimitiveTypeInfo typeInfo) |
protected DoubleObjectInspector |
GenericUDAFComputeStats.GenericUDAFDoubleStatsEvaluator.getValueObjectInspector(PrimitiveTypeInfo typeInfo) |
protected HiveDecimalObjectInspector |
GenericUDAFComputeStats.GenericUDAFDecimalStatsEvaluator.getValueObjectInspector(PrimitiveTypeInfo typeInfo) |
protected DateObjectInspector |
GenericUDAFComputeStats.GenericUDAFDateStatsEvaluator.getValueObjectInspector(PrimitiveTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
static AbstractPrimitiveLazyObjectInspector<?> |
LazyPrimitiveObjectInspectorFactory.getLazyObjectInspector(PrimitiveTypeInfo typeInfo) |
static AbstractPrimitiveLazyObjectInspector<?> |
LazyPrimitiveObjectInspectorFactory.getLazyObjectInspector(PrimitiveTypeInfo typeInfo,
boolean escaped,
byte escapeChar) |
static AbstractPrimitiveLazyObjectInspector<?> |
LazyPrimitiveObjectInspectorFactory.getLazyObjectInspector(PrimitiveTypeInfo typeInfo,
boolean escaped,
byte escapeChar,
boolean extBoolean) |
static AbstractPrimitiveLazyObjectInspector<?> |
LazyPrimitiveObjectInspectorFactory.getLazyObjectInspector(PrimitiveTypeInfo typeInfo,
LazyObjectInspectorParameters lazyParams) |
Constructor and Description |
---|
AbstractPrimitiveLazyObjectInspector(PrimitiveTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
PrimitiveTypeInfo |
PrimitiveObjectInspector.getTypeInfo() |
Modifier and Type | Field and Description |
---|---|
protected PrimitiveTypeInfo |
AbstractPrimitiveObjectInspector.typeInfo |
Modifier and Type | Method and Description |
---|---|
PrimitiveTypeInfo |
AbstractPrimitiveObjectInspector.getTypeInfo() |
Modifier and Type | Method and Description |
---|---|
static AbstractPrimitiveJavaObjectInspector |
PrimitiveObjectInspectorFactory.getPrimitiveJavaObjectInspector(PrimitiveTypeInfo typeInfo)
Returns the PrimitiveJavaObjectInspector for the given PrimitiveTypeInfo instance,
|
static ConstantObjectInspector |
PrimitiveObjectInspectorFactory.getPrimitiveWritableConstantObjectInspector(PrimitiveTypeInfo typeInfo,
Object value)
Returns a PrimitiveWritableObjectInspector which implements ConstantObjectInspector
for the PrimitiveCategory.
|
static AbstractPrimitiveWritableObjectInspector |
PrimitiveObjectInspectorFactory.getPrimitiveWritableObjectInspector(PrimitiveTypeInfo typeInfo)
Returns the PrimitiveWritableObjectInspector for the given type info
|
Constructor and Description |
---|
AbstractPrimitiveJavaObjectInspector(PrimitiveTypeInfo typeInfo) |
AbstractPrimitiveObjectInspector(PrimitiveTypeInfo typeInfo)
Construct a AbstractPrimitiveObjectInspector.
|
AbstractPrimitiveWritableObjectInspector(PrimitiveTypeInfo typeInfo) |
Modifier and Type | Class and Description |
---|---|
class |
BaseCharTypeInfo |
class |
CharTypeInfo |
class |
DecimalTypeInfo |
class |
TimestampLocalTZTypeInfo |
class |
VarcharTypeInfo |
Modifier and Type | Method and Description |
---|---|
static PrimitiveTypeInfo |
TypeInfoFactory.getPrimitiveTypeInfo(String typeName)
Get PrimitiveTypeInfo instance for the given type name of a type
including types with parameters, such as varchar(20).
|
Modifier and Type | Method and Description |
---|---|
static int |
TypeInfoUtils.getCharacterLengthForType(PrimitiveTypeInfo typeInfo)
Return the character length of the type
|
static TypeInfo |
HiveDecimalUtils.getDecimalTypeForPrimitiveCategories(PrimitiveTypeInfo a,
PrimitiveTypeInfo b) |
static DecimalTypeInfo |
HiveDecimalUtils.getDecimalTypeForPrimitiveCategory(PrimitiveTypeInfo a) |
static int |
HiveDecimalUtils.getPrecisionForType(PrimitiveTypeInfo typeInfo)
Need to keep consistent with JdbcColumn.columnPrecision
|
static int |
HiveDecimalUtils.getScaleForType(PrimitiveTypeInfo typeInfo)
Need to keep consistent with JdbcColumn.columnScale()
|
Modifier and Type | Method and Description |
---|---|
PrimitiveTypeInfo |
HCatFieldSchema.getMapKeyTypeInfo() |
PrimitiveTypeInfo |
HCatFieldSchema.getTypeInfo()
May return
null |
Modifier and Type | Method and Description |
---|---|
static HCatFieldSchema |
HCatFieldSchema.createMapTypeFieldSchema(String fieldName,
PrimitiveTypeInfo mapKeyType,
HCatSchema mapValueSchema,
String comment) |
static HCatFieldSchema.Type |
HCatFieldSchema.Type.getPrimitiveHType(PrimitiveTypeInfo basePrimitiveTypeInfo) |
HCatSchemaUtils.MapBuilder |
HCatSchemaUtils.MapBuilder.withKeyType(PrimitiveTypeInfo keyType) |
Constructor and Description |
---|
HCatFieldSchema(String fieldName,
PrimitiveTypeInfo typeInfo,
String comment) |
Modifier and Type | Method and Description |
---|---|
static TypeQualifiers |
TypeQualifiers.fromTypeInfo(PrimitiveTypeInfo pti) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.