Class UserDefinedType
java.lang.Object
org.apache.flink.table.types.logical.LogicalType
org.apache.flink.table.types.logical.UserDefinedType
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DistinctType,StructuredType
Logical type of a user-defined representation for one or more built-in types. A user-defined type
is either a distinct type or a structured type.
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.
- See Also:
-
Method Summary
Methods inherited from class org.apache.flink.table.types.logical.LogicalType
accept, asSummaryString, conversionSet, copy, copy, getChildren, getDefaultConversion, getTypeRoot, is, is, isAnyOf, isAnyOf, isNullable, supportsInputConversion, supportsOutputConversion, toString, withNullability
-
Method Details
-
getObjectIdentifier
-
isFinal
public boolean isFinal() -
getDescription
-
asSerializableString
Description copied from class:LogicalTypeReturns a string that fully serializes this instance. The serialized string can be used for transmitting or persisting a type.See
LogicalTypeParserfor the reverse operation.- Specified by:
asSerializableStringin classLogicalType- Returns:
- detailed string for transmission or persistence
-
equals
- Overrides:
equalsin classLogicalType
-
hashCode
public int hashCode()- Overrides:
hashCodein classLogicalType
-