Package org.apache.flink.table.catalog
Class DefaultResolvedCatalogModel
java.lang.Object
org.apache.flink.table.catalog.DefaultResolvedCatalogModel
- All Implemented Interfaces:
CatalogModel,ResolvedCatalogModel
@PublicEvolving
public final class DefaultResolvedCatalogModel
extends Object
implements ResolvedCatalogModel, CatalogModel
A validated
CatalogModel that is backed by the original metadata coming from the Catalog but resolved by the framework.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultResolvedCatalogModel(CatalogModel origin, ResolvedSchema resolvedInputSchema, ResolvedSchema resolvedOutputSchema) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Get a deep copy of the CatalogModel instance.Copy the input model options into the CatalogModel instance.booleanGet comment of the model.Get the unresolved input schema of the model.Returns a map of string-based model options.Returns the original, unresolved metadata object from theCatalog.Get the unresolved output schema of the model.Returns a fully resolved and validatedResolvedSchemainputSchema.Returns a fully resolved and validatedResolvedSchemaoutputSchema.inthashCode()Serializes this instance into a map of string-based properties.toString()
-
Constructor Details
-
DefaultResolvedCatalogModel
public DefaultResolvedCatalogModel(CatalogModel origin, ResolvedSchema resolvedInputSchema, ResolvedSchema resolvedOutputSchema)
-
-
Method Details
-
getOrigin
Description copied from interface:ResolvedCatalogModelReturns the original, unresolved metadata object from theCatalog.This method might be useful if catalog-specific object instances should be directly forwarded from the catalog to a factory.
- Specified by:
getOriginin interfaceResolvedCatalogModel
-
getResolvedInputSchema
Description copied from interface:ResolvedCatalogModelReturns a fully resolved and validatedResolvedSchemainputSchema.- Specified by:
getResolvedInputSchemain interfaceResolvedCatalogModel
-
getResolvedOutputSchema
Description copied from interface:ResolvedCatalogModelReturns a fully resolved and validatedResolvedSchemaoutputSchema.- Specified by:
getResolvedOutputSchemain interfaceResolvedCatalogModel
-
toProperties
Description copied from interface:ResolvedCatalogModelSerializes this instance into a map of string-based properties.Compared to the pure table options in
CatalogModel.getOptions(), the map includes input schema, output schema, comment and options.- Specified by:
toPropertiesin interfaceResolvedCatalogModel
-
getOptions
Description copied from interface:CatalogModelReturns a map of string-based model options.- Specified by:
getOptionsin interfaceCatalogModel
-
getInputSchema
Description copied from interface:CatalogModelGet the unresolved input schema of the model.- Specified by:
getInputSchemain interfaceCatalogModel- Returns:
- unresolved input schema of the model.
-
getOutputSchema
Description copied from interface:CatalogModelGet the unresolved output schema of the model.- Specified by:
getOutputSchemain interfaceCatalogModel- Returns:
- unresolved output schema of the model.
-
getComment
Description copied from interface:CatalogModelGet comment of the model.- Specified by:
getCommentin interfaceCatalogModel- Returns:
- comment of the model.
-
copy
Description copied from interface:CatalogModelGet a deep copy of the CatalogModel instance.- Specified by:
copyin interfaceCatalogModel- Returns:
- a copy of the CatalogModel instance
-
copy
Description copied from interface:CatalogModelCopy the input model options into the CatalogModel instance.- Specified by:
copyin interfaceCatalogModel- Returns:
- a copy of the CatalogModel instance with new model options.
-
equals
-
hashCode
public int hashCode() -
toString
-