@InterfaceAudience.Public @InterfaceStability.Stable public abstract class BaseCharTypeInfo extends PrimitiveTypeInfo
typeEntry, typeName
Constructor and Description |
---|
BaseCharTypeInfo() |
BaseCharTypeInfo(String typeName) |
BaseCharTypeInfo(String typeName,
int length) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getLength() |
String |
getQualifiedName()
String representing the qualified type name.
|
protected String |
getQualifiedName(String typeName,
int length)
Utility method to build the fully qualified data type.
|
int |
hashCode() |
void |
setLength(int length) |
void |
setTypeName(String typeName) |
getCategory, getPrimitiveCategory, getPrimitiveJavaClass, getPrimitiveTypeEntry, getPrimitiveWritableClass, getTypeName, toString
public BaseCharTypeInfo()
public BaseCharTypeInfo(String typeName)
public BaseCharTypeInfo(String typeName, int length)
public int getLength()
public void setLength(int length)
public String getQualifiedName()
TypeInfo
getQualifiedName
in class TypeInfo
protected String getQualifiedName(String typeName, int length)
typeName
- The name of the data type (char or varchar)length
- The maximum length of the data typepublic void setTypeName(String typeName)
setTypeName
in class PrimitiveTypeInfo
public int hashCode()
hashCode
in class PrimitiveTypeInfo
public boolean equals(Object obj)
equals
in class PrimitiveTypeInfo
Copyright © 2022 The Apache Software Foundation. All rights reserved.