Package io.trino.plugin.hive.type
Class VarcharTypeInfo
java.lang.Object
io.trino.plugin.hive.type.TypeInfo
io.trino.plugin.hive.type.PrimitiveTypeInfo
io.trino.plugin.hive.type.BaseCharTypeInfo
io.trino.plugin.hive.type.VarcharTypeInfo
-
Field Summary
FieldsFields inherited from class io.trino.plugin.hive.type.PrimitiveTypeInfo
typeName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonginthashCode()Generate the hashCode for this TypeInfo.Methods inherited from class io.trino.plugin.hive.type.BaseCharTypeInfo
charTypeName, getLength, getTypeNameMethods inherited from class io.trino.plugin.hive.type.PrimitiveTypeInfo
getCategory, getDeclaredFieldsRetainedSizeInBytes, getPrimitiveCategory
-
Field Details
-
MAX_VARCHAR_LENGTH
public static final int MAX_VARCHAR_LENGTH- See Also:
-
-
Constructor Details
-
VarcharTypeInfo
public VarcharTypeInfo(int length)
-
-
Method Details
-
equals
- Overrides:
equalsin classPrimitiveTypeInfo
-
hashCode
public int hashCode()Description copied from class:PrimitiveTypeInfoGenerate the hashCode for this TypeInfo.- Overrides:
hashCodein classPrimitiveTypeInfo
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()- Overrides:
getRetainedSizeInBytesin classPrimitiveTypeInfo
-