Package org.apache.flink.table.catalog
Class DefaultCatalogModel
- java.lang.Object
-
- org.apache.flink.table.catalog.DefaultCatalogModel
-
- All Implemented Interfaces:
CatalogModel
@Internal public class DefaultCatalogModel extends Object implements CatalogModel
A catalog model implementation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogModelcopy()Get a deep copy of the CatalogModel instance.CatalogModelcopy(Map<String,String> newModelOptions)Copy the input model options into the CatalogModel instance.booleanequals(Object o)StringgetComment()Get comment of the model.SchemagetInputSchema()Get the unresolved input schema of the model.Map<String,String>getOptions()Returns a map of string-based model options.SchemagetOutputSchema()Get the unresolved output schema of the model.inthashCode()StringtoString()
-
-
-
Method Detail
-
getOptions
public Map<String,String> getOptions()
Description copied from interface:CatalogModelReturns a map of string-based model options.- Specified by:
getOptionsin interfaceCatalogModel
-
getInputSchema
public Schema 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
public Schema 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
public String getComment()
Description copied from interface:CatalogModelGet comment of the model.- Specified by:
getCommentin interfaceCatalogModel- Returns:
- comment of the model.
-
copy
public CatalogModel 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
public CatalogModel copy(Map<String,String> newModelOptions)
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.
-
-