Package io.trino.plugin.hive.util
Class HiveTypeTranslator
- java.lang.Object
-
- io.trino.plugin.hive.util.HiveTypeTranslator
-
public final class HiveTypeTranslator extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TypefromPrimitiveType(org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo typeInfo)Deprecated.static org.apache.hadoop.hive.serde2.typeinfo.TypeInfotoTypeInfo(Type type)static TypeSignaturetoTypeSignature(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo, HiveTimestampPrecision timestampPrecision)
-
-
-
Method Detail
-
toTypeInfo
public static org.apache.hadoop.hive.serde2.typeinfo.TypeInfo toTypeInfo(Type type)
-
toTypeSignature
public static TypeSignature toTypeSignature(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo, HiveTimestampPrecision timestampPrecision)
-
fromPrimitiveType
@Deprecated @Nullable public static Type fromPrimitiveType(org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo typeInfo)
Deprecated.
-
-