Package org.apache.flink.table.catalog
Class ObjectIdentifier
java.lang.Object
org.apache.flink.table.catalog.ObjectIdentifier
- All Implemented Interfaces:
Serializable
Identifies an object in a catalog. It allows to identify objects such as tables, views, function,
or types in a catalog. An identifier must be fully qualified. It is the responsibility of the
catalog manager to resolve an identifier to an object.
While ObjectPath is used within the same catalog, instances of this class can be used
across catalogs.
Two objects are considered equal if they share the same object identifier in a stable session context.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns a string that fully serializes this instance.Returns a string that summarizes this instance for printing to a console or log.booleaninthashCode()static ObjectIdentifiertoList()List of the component names of this object identifier.Convert thisObjectIdentifiertoObjectPath.toString()
-
Method Details
-
of
-
getCatalogName
-
getDatabaseName
-
getObjectName
-
toObjectPath
Convert thisObjectIdentifiertoObjectPath.- Throws:
TableException- if the identifier cannot be converted
-
toList
List of the component names of this object identifier. -
asSerializableString
Returns a string that fully serializes this instance. The serialized string can be used for transmitting or persisting an object identifier.- Throws:
TableException- if the identifier cannot be serialized
-
asSummaryString
Returns a string that summarizes this instance for printing to a console or log. -
equals
-
hashCode
public int hashCode() -
toString
-