Package io.trino.plugin.hive
Class HiveType
java.lang.Object
io.trino.plugin.hive.HiveType
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHiveDereferenceNames(List<Integer> dereferences) getHiveTypeForDereferences(List<Integer> dereferences) longgetType(TypeManager typeManager) Deprecated.getType(TypeManager typeManager, HiveTimestampPrecision timestampPrecision) Deprecated.getTypeSignature(HiveTimestampPrecision timestampPrecision) inthashCode()booleanisSupportedType(StorageFormat storageFormat) static HiveTypetoHiveType(TypeInfo typeInfo) static HiveTypetoHiveType(Type type) toHiveTypes(String hiveTypes) toString()static HiveType
-
Field Details
-
HIVE_BOOLEAN
-
HIVE_BYTE
-
HIVE_SHORT
-
HIVE_INT
-
HIVE_LONG
-
HIVE_FLOAT
-
HIVE_DOUBLE
-
HIVE_STRING
-
HIVE_TIMESTAMP
-
HIVE_TIMESTAMPLOCALTZ
-
HIVE_DATE
-
HIVE_BINARY
-
-
Method Details
-
getHiveTypeName
-
getCategory
-
getTypeInfo
-
getTypeSignature
Deprecated. -
getTypeSignature
-
getType
Deprecated. -
getType
-
equals
-
hashCode
public int hashCode() -
toString
-
isSupportedType
-
valueOf
-
toHiveTypes
-
toHiveType
-
toHiveType
-
getHiveTypeForDereferences
-
getHiveDereferenceNames
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
-
getType(TypeManager, HiveTimestampPrecision).