@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 FormModifier 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, withNullability
public ObjectIdentifier getObjectIdentifier()
public boolean isFinal()
public String asSerializableString()
LogicalType
See LogicalTypeParser
for the reverse operation.
asSerializableString
in class LogicalType
public boolean equals(Object o)
equals
in class LogicalType
public int hashCode()
hashCode
in class LogicalType
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.