@PublicEvolving public abstract class UserDefinedType extends LogicalType
A UserDefinedType
instance is the result of a catalog lookup or an anonymous, inline
definition (for structured types only). Therefore, the serialized string representation is a
unique ObjectIdentifier
(if registered) or a representation does not exist (if
unregistered).
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() |
Optional<ObjectIdentifier> |
getObjectIdentifier() |
int |
hashCode() |
boolean |
isFinal() |
accept, asSummaryString, conversionSet, copy, copy, getChildren, getDefaultConversion, getTypeRoot, isNullable, supportsInputConversion, supportsOutputConversion, toString, withNullability
public Optional<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–2021 The Apache Software Foundation. All rights reserved.