|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TypeInfo | |
---|---|
org.apache.hadoop.hive.metastore | |
org.apache.hadoop.hive.ql.exec | Hive QL execution tasks, operators, functions and other handlers. |
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 | |
org.apache.hadoop.hive.serde2.lazybinary | |
org.apache.hadoop.hive.serde2.typeinfo | This package provides the implementation of the SerDe type system. |
org.apache.hive.builtins |
Uses of TypeInfo in org.apache.hadoop.hive.metastore |
---|
Methods in org.apache.hadoop.hive.metastore with parameters of type TypeInfo | |
---|---|
static FieldSchema |
MetaStoreUtils.getFieldSchemaFromTypeInfo(String fieldName,
TypeInfo typeInfo)
Convert TypeInfo to FieldSchema. |
Uses of TypeInfo in org.apache.hadoop.hive.ql.exec |
---|
Methods in org.apache.hadoop.hive.ql.exec that return TypeInfo | |
---|---|
static TypeInfo |
FunctionRegistry.getCommonClass(TypeInfo a,
TypeInfo b)
Find a common class that objects of both TypeInfo a and TypeInfo b can convert to. |
static TypeInfo |
FunctionRegistry.getCommonClassForComparison(TypeInfo a,
TypeInfo b)
Find a common class that objects of both TypeInfo a and TypeInfo b can convert to. |
static TypeInfo |
FunctionRegistry.getCommonClassForUnionAll(TypeInfo a,
TypeInfo b)
Find a common class for union-all operator |
TypeInfo |
ColumnInfo.getType()
|
Methods in org.apache.hadoop.hive.ql.exec that return types with arguments of type TypeInfo | |
---|---|
List<TypeInfo> |
UDFArgumentException.getArgTypeList()
|
Methods in org.apache.hadoop.hive.ql.exec with parameters of type TypeInfo | |
---|---|
static TypeInfo |
FunctionRegistry.getCommonClass(TypeInfo a,
TypeInfo b)
Find a common class that objects of both TypeInfo a and TypeInfo b can convert to. |
static TypeInfo |
FunctionRegistry.getCommonClassForComparison(TypeInfo a,
TypeInfo b)
Find a common class that objects of both TypeInfo a and TypeInfo b can convert to. |
static TypeInfo |
FunctionRegistry.getCommonClassForUnionAll(TypeInfo a,
TypeInfo b)
Find a common class for union-all operator |
static boolean |
FunctionRegistry.implicitConvertable(TypeInfo from,
TypeInfo to)
Returns whether it is possible to implicitly convert an object of Class from to Class to. |
static int |
FunctionRegistry.matchCost(TypeInfo argumentPassed,
TypeInfo argumentAccepted,
boolean exact)
Returns -1 if passed does not match accepted. |
void |
ColumnInfo.setType(TypeInfo type)
|
Method parameters in org.apache.hadoop.hive.ql.exec with type arguments of type TypeInfo | ||
---|---|---|
Method |
DefaultUDFMethodResolver.getEvalMethod(List<TypeInfo> argClasses)
Gets the evaluate method for the UDF given the parameter types. |
|
Method |
NumericOpMethodResolver.getEvalMethod(List<TypeInfo> argTypeInfos)
|
|
Method |
ComparisonOpMethodResolver.getEvalMethod(List<TypeInfo> argTypeInfos)
|
|
Method |
UDFMethodResolver.getEvalMethod(List<TypeInfo> argClasses)
Gets the evaluate method for the UDF given the parameter types. |
|
Class<? extends UDAFEvaluator> |
DefaultUDAFEvaluatorResolver.getEvaluatorClass(List<TypeInfo> argClasses)
Gets the evaluator class for the UDAF given the parameter types. |
|
Class<? extends UDAFEvaluator> |
UDAFEvaluatorResolver.getEvaluatorClass(List<TypeInfo> argClasses)
Gets the evaluator class corresponding to the passed parameter list. |
|
Class<? extends UDAFEvaluator> |
NumericUDAFEvaluatorResolver.getEvaluatorClass(List<TypeInfo> argTypeInfos)
|
|
static Method |
FunctionRegistry.getMethodInternal(Class<?> udfClass,
List<Method> mlist,
boolean exact,
List<TypeInfo> argumentsPassed)
Gets the closest matching method corresponding to the argument list from a list of methods. |
|
static
|
FunctionRegistry.getMethodInternal(Class<? extends T> udfClass,
String methodName,
boolean exact,
List<TypeInfo> argumentClasses)
This method is shared between UDFRegistry and UDAFRegistry. |
Constructors in org.apache.hadoop.hive.ql.exec with parameters of type TypeInfo | |
---|---|
ColumnInfo(String internalName,
TypeInfo type,
String tabAlias,
boolean isVirtualCol)
|
|
ColumnInfo(String internalName,
TypeInfo type,
String tabAlias,
boolean isVirtualCol,
boolean isHiddenVirtualCol)
|
Constructor parameters in org.apache.hadoop.hive.ql.exec with type arguments of type TypeInfo | |
---|---|
AmbiguousMethodException(Class<?> funcClass,
List<TypeInfo> argTypeInfos,
List<Method> methods)
Constructor. |
|
NoMatchingMethodException(Class<?> funcClass,
List<TypeInfo> argTypeInfos,
List<Method> methods)
Constructor. |
|
UDFArgumentException(String message,
Class<?> funcClass,
List<TypeInfo> argTypeInfos,
List<Method> methods)
Constructor. |
Uses of TypeInfo in org.apache.hadoop.hive.ql.parse |
---|
Methods in org.apache.hadoop.hive.ql.parse that return types with arguments of type TypeInfo | |
---|---|
ArrayList<TypeInfo> |
InputSignature.getTypeArray()
|
Methods in org.apache.hadoop.hive.ql.parse with parameters of type TypeInfo | |
---|---|
void |
InputSignature.add(TypeInfo paramType)
|
Constructors in org.apache.hadoop.hive.ql.parse with parameters of type TypeInfo | |
---|---|
InputSignature(String name,
TypeInfo... classList)
|
Uses of TypeInfo in org.apache.hadoop.hive.ql.plan |
---|
Methods in org.apache.hadoop.hive.ql.plan that return TypeInfo | |
---|---|
TypeInfo |
ExprNodeDesc.getTypeInfo()
|
Methods in org.apache.hadoop.hive.ql.plan with parameters of type TypeInfo | |
---|---|
void |
ExprNodeDesc.setTypeInfo(TypeInfo typeInfo)
|
Constructors in org.apache.hadoop.hive.ql.plan with parameters of type TypeInfo | |
---|---|
ExprNodeColumnDesc(TypeInfo typeInfo,
String column,
String tabAlias,
boolean isPartitionColOrVirtualCol)
|
|
ExprNodeConstantDesc(TypeInfo typeInfo,
Object value)
|
|
ExprNodeDesc(TypeInfo typeInfo)
|
|
ExprNodeFieldDesc(TypeInfo typeInfo,
ExprNodeDesc desc,
String fieldName,
Boolean isList)
|
|
ExprNodeGenericFuncDesc(TypeInfo typeInfo,
GenericUDF genericUDF,
List<ExprNodeDesc> children)
|
Uses of TypeInfo in org.apache.hadoop.hive.ql.udf.generic |
---|
Methods in org.apache.hadoop.hive.ql.udf.generic that return TypeInfo | |
---|---|
TypeInfo[] |
GenericUDAFParameterInfo.getParameters()
Deprecated. |
TypeInfo[] |
SimpleGenericUDAFParameterInfo.getParameters()
Deprecated. |
Uses of TypeInfo in org.apache.hadoop.hive.serde2.lazy |
---|
Methods in org.apache.hadoop.hive.serde2.lazy that return TypeInfo | |
---|---|
TypeInfo |
LazySimpleSerDe.SerDeParameters.getRowTypeInfo()
|
Methods in org.apache.hadoop.hive.serde2.lazy that return types with arguments of type TypeInfo | |
---|---|
List<TypeInfo> |
LazySimpleSerDe.SerDeParameters.getColumnTypes()
|
Methods in org.apache.hadoop.hive.serde2.lazy with parameters of type TypeInfo | |
---|---|
static ObjectInspector |
LazyFactory.createLazyObjectInspector(TypeInfo typeInfo,
byte[] separator,
int separatorIndex,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar)
Create a hierarchical ObjectInspector for LazyObject with the given typeInfo. |
Method parameters in org.apache.hadoop.hive.serde2.lazy with type arguments of type TypeInfo | |
---|---|
static ObjectInspector |
LazyFactory.createColumnarStructInspector(List<String> columnNames,
List<TypeInfo> columnTypes,
byte[] separators,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar)
Create a hierarchical ObjectInspector for ColumnarStruct with the given columnNames and columnTypeInfos. |
static ObjectInspector |
LazyFactory.createLazyStructInspector(List<String> columnNames,
List<TypeInfo> typeInfos,
byte[] separators,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar)
Create a hierarchical ObjectInspector for LazyStruct with the given columnNames and columnTypeInfos. |
Uses of TypeInfo in org.apache.hadoop.hive.serde2.lazybinary |
---|
Methods in org.apache.hadoop.hive.serde2.lazybinary with parameters of type TypeInfo | |
---|---|
static ObjectInspector |
LazyBinaryUtils.getLazyBinaryObjectInspectorFromTypeInfo(TypeInfo typeInfo)
Returns the lazy binary object inspector that can be used to inspect an lazy binary object of that typeInfo For primitive types, we use the standard writable object inspector. |
Method parameters in org.apache.hadoop.hive.serde2.lazybinary with type arguments of type TypeInfo | |
---|---|
static ObjectInspector |
LazyBinaryFactory.createColumnarStructInspector(List<String> columnNames,
List<TypeInfo> columnTypes)
|
Uses of TypeInfo in org.apache.hadoop.hive.serde2.typeinfo |
---|
Subclasses of TypeInfo in org.apache.hadoop.hive.serde2.typeinfo | |
---|---|
class |
ListTypeInfo
A List Type has homogeneous elements. |
class |
MapTypeInfo
A Map Type has homogeneous keys and homogeneous values. |
class |
PrimitiveTypeInfo
There are limited number of Primitive Types. |
class |
StructTypeInfo
StructTypeInfo represents the TypeInfo of a struct. |
class |
UnionTypeInfo
UnionTypeInfo represents the TypeInfo of an union. |
Fields in org.apache.hadoop.hive.serde2.typeinfo declared as TypeInfo | |
---|---|
static TypeInfo |
TypeInfoFactory.binaryTypeInfo
|
static TypeInfo |
TypeInfoFactory.booleanTypeInfo
|
static TypeInfo |
TypeInfoFactory.byteTypeInfo
|
static TypeInfo |
TypeInfoFactory.doubleTypeInfo
|
static TypeInfo |
TypeInfoFactory.floatTypeInfo
|
static TypeInfo |
TypeInfoFactory.intTypeInfo
|
static TypeInfo |
TypeInfoFactory.longTypeInfo
|
static TypeInfo |
TypeInfoFactory.shortTypeInfo
|
static TypeInfo |
TypeInfoFactory.stringTypeInfo
|
static TypeInfo |
TypeInfoFactory.timestampTypeInfo
|
static TypeInfo |
TypeInfoFactory.unknownTypeInfo
|
static TypeInfo |
TypeInfoFactory.voidTypeInfo
|
Methods in org.apache.hadoop.hive.serde2.typeinfo that return TypeInfo | |
---|---|
TypeInfo |
ListTypeInfo.getListElementTypeInfo()
|
static TypeInfo |
TypeInfoFactory.getListTypeInfo(TypeInfo elementTypeInfo)
|
TypeInfo |
MapTypeInfo.getMapKeyTypeInfo()
|
static TypeInfo |
TypeInfoFactory.getMapTypeInfo(TypeInfo keyTypeInfo,
TypeInfo valueTypeInfo)
|
TypeInfo |
MapTypeInfo.getMapValueTypeInfo()
|
static TypeInfo |
TypeInfoFactory.getPrimitiveTypeInfo(String typeName)
|
static TypeInfo |
TypeInfoFactory.getPrimitiveTypeInfoFromJavaPrimitive(Class<?> clazz)
|
static TypeInfo |
TypeInfoFactory.getPrimitiveTypeInfoFromPrimitiveWritable(Class<?> clazz)
|
TypeInfo |
StructTypeInfo.getStructFieldTypeInfo(String field)
|
static TypeInfo |
TypeInfoFactory.getStructTypeInfo(List<String> names,
List<TypeInfo> typeInfos)
|
static TypeInfo |
TypeInfoUtils.getTypeInfoFromObjectInspector(ObjectInspector oi)
Get the TypeInfo object from the ObjectInspector object by recursively going into the ObjectInspector structure. |
static TypeInfo |
TypeInfoUtils.getTypeInfoFromTypeString(String typeString)
|
static TypeInfo |
TypeInfoFactory.getUnionTypeInfo(List<TypeInfo> typeInfos)
|
Methods in org.apache.hadoop.hive.serde2.typeinfo that return types with arguments of type TypeInfo | |
---|---|
ArrayList<TypeInfo> |
StructTypeInfo.getAllStructFieldTypeInfos()
|
List<TypeInfo> |
UnionTypeInfo.getAllUnionObjectTypeInfos()
|
static List<TypeInfo> |
TypeInfoUtils.getParameterTypeInfos(Method m,
int size)
Get the parameter TypeInfo for a method. |
static ArrayList<TypeInfo> |
TypeInfoUtils.getTypeInfosFromTypeString(String typeString)
|
Methods in org.apache.hadoop.hive.serde2.typeinfo with parameters of type TypeInfo | |
---|---|
static TypeInfo |
TypeInfoFactory.getListTypeInfo(TypeInfo elementTypeInfo)
|
static TypeInfo |
TypeInfoFactory.getMapTypeInfo(TypeInfo keyTypeInfo,
TypeInfo valueTypeInfo)
|
static ObjectInspector |
TypeInfoUtils.getStandardJavaObjectInspectorFromTypeInfo(TypeInfo typeInfo)
Returns the standard object inspector that can be used to translate an object of that typeInfo to a standard object type. |
static ObjectInspector |
TypeInfoUtils.getStandardWritableObjectInspectorFromTypeInfo(TypeInfo typeInfo)
Returns the standard object inspector that can be used to translate an object of that typeInfo to a standard object type. |
void |
ListTypeInfo.setListElementTypeInfo(TypeInfo listElementTypeInfo)
For java serialization use only. |
void |
MapTypeInfo.setMapKeyTypeInfo(TypeInfo mapKeyTypeInfo)
For java serialization use only. |
void |
MapTypeInfo.setMapValueTypeInfo(TypeInfo mapValueTypeInfo)
For java serialization use only. |
Method parameters in org.apache.hadoop.hive.serde2.typeinfo with type arguments of type TypeInfo | |
---|---|
static TypeInfo |
TypeInfoFactory.getStructTypeInfo(List<String> names,
List<TypeInfo> typeInfos)
|
static TypeInfo |
TypeInfoFactory.getUnionTypeInfo(List<TypeInfo> typeInfos)
|
void |
StructTypeInfo.setAllStructFieldTypeInfos(ArrayList<TypeInfo> allStructFieldTypeInfos)
For java serialization use only. |
void |
UnionTypeInfo.setAllUnionObjectTypeInfos(List<TypeInfo> allUnionObjectTypeInfos)
For java serialization use only. |
Uses of TypeInfo in org.apache.hive.builtins |
---|
Methods in org.apache.hive.builtins with parameters of type TypeInfo | |
---|---|
GenericUDAFEvaluator |
UDAFUnionMap.getEvaluator(TypeInfo[] parameters)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |