@PublicEvolving public abstract class UserDefinedType extends LogicalType
A UserDefinedType instance is the result of a catalog lookup or an explicit definition.
Therefore, the serialized string representation is a unique ObjectIdentifier.
NOTE: Compared to the SQL standard, this class and subclasses are incomplete. We might add new features such as method declarations in the future.
DistinctType,
StructuredType,
Serialized Form| Modifier and Type | Method and Description |
|---|---|
String |
asSerializableString()
Returns a string that fully serializes this instance.
|
boolean |
equals(Object o) |
Optional<String> |
getDescription() |
ObjectIdentifier |
getObjectIdentifier() |
int |
hashCode() |
boolean |
isFinal() |
accept, asSummaryString, conversionSet, copy, copy, getChildren, getDefaultConversion, getTypeRoot, isNullable, supportsInputConversion, supportsOutputConversion, toString, withNullabilitypublic ObjectIdentifier getObjectIdentifier()
public boolean isFinal()
public String asSerializableString()
LogicalTypeSee LogicalTypeParser for the reverse operation.
asSerializableString in class LogicalTypepublic boolean equals(Object o)
equals in class LogicalTypepublic int hashCode()
hashCode in class LogicalTypeCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.