Uses of Class
org.apache.hadoop.hive.serde2.typeinfo.TypeInfo

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. 
 

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.
 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 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 UDFMethodResolver.getEvalMethod(List<TypeInfo> argClasses)
          Gets the evaluate method for the UDF given the parameter types.
 Method ComparisonOpMethodResolver.getEvalMethod(List<TypeInfo> argTypeInfos)
           
 Method NumericOpMethodResolver.getEvalMethod(List<TypeInfo> argTypeInfos)
           
 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)
           
 Class<? extends UDAFEvaluator> DefaultUDAFEvaluatorResolver.getEvaluatorClass(List<TypeInfo> argClasses)
          Gets the evaluator class for the UDAF given the parameter types.
static GenericUDAFEvaluator FunctionRegistry.getGenericUDAFEvaluator(String name, List<TypeInfo> argumentTypeInfos, boolean isDistinct, boolean isAllColumns)
          Get the GenericUDAF evaluator for the name and argumentClasses.
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
<T> Method
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 isPartitionCol)
           
 

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 isPartitionCol)
           
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()
           
 TypeInfo[] SimpleGenericUDAFParameterInfo.getParameters()
           
 

Methods in org.apache.hadoop.hive.ql.udf.generic with parameters of type TypeInfo
 GenericUDAFEvaluator GenericUDAFAverage.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFMin.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFVarianceSample.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFCount.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFSum.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFBridge.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFStd.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFHistogramNumeric.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFResolver.getEvaluator(TypeInfo[] parameters)
          Deprecated. Get the evaluator for the parameter types.
 GenericUDAFEvaluator GenericUDAFVariance.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFStdSample.getEvaluator(TypeInfo[] parameters)
           
 GenericUDAFEvaluator GenericUDAFMax.getEvaluator(TypeInfo[] parameters)
           
 

Constructors in org.apache.hadoop.hive.ql.udf.generic with parameters of type TypeInfo
SimpleGenericUDAFParameterInfo(TypeInfo[] params, boolean distinct, boolean allColumns)
           
 

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.
 

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.
 

Fields in org.apache.hadoop.hive.serde2.typeinfo declared as TypeInfo
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.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)
           
 

Methods in org.apache.hadoop.hive.serde2.typeinfo that return types with arguments of type TypeInfo
 ArrayList<TypeInfo> StructTypeInfo.getAllStructFieldTypeInfos()
           
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)
           
 void StructTypeInfo.setAllStructFieldTypeInfos(ArrayList<TypeInfo> allStructFieldTypeInfos)
          For java serialization use only.
 



Copyright © 2010 The Apache Software Foundation