public class HiveParserTypeInfoUtils extends Object
Modifier and Type | Field and Description |
---|---|
static List<org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory> |
numericTypeList |
static EnumMap<org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory,Integer> |
numericTypes |
Constructor and Description |
---|
HiveParserTypeInfoUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
implicitConvertible(org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory from,
org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory to)
Test if it's implicitly convertible for data comparison.
|
static boolean |
implicitConvertible(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo from,
org.apache.hadoop.hive.serde2.typeinfo.TypeInfo to) |
static void |
registerNumericType(org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory primitiveCategory,
int level) |
public static List<org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory> numericTypeList
public static void registerNumericType(org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory primitiveCategory, int level)
public static boolean implicitConvertible(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo from, org.apache.hadoop.hive.serde2.typeinfo.TypeInfo to)
public static boolean implicitConvertible(org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory from, org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory to)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.