Package org.apache.flink.table.catalog
Interface ModelChange
-
- All Known Implementing Classes:
ModelChange.ResetOption,ModelChange.SetOption
@PublicEvolving public interface ModelChangeModelChangerepresents the modification of the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classModelChange.ResetOptionA model change to reset the model option.static classModelChange.SetOptionA model change to set the model option.
-
Method Summary
Static Methods Modifier and Type Method Description static ModelChange.ResetOptionreset(String key)A model change to reset the model option.static ModelChange.SetOptionset(String key, String value)A model change to set the model option.
-
-
-
Method Detail
-
set
static ModelChange.SetOption set(String key, String value)
A model change to set the model option.It is equal to the following statement:
ALTER MODEL <model_name> SET (key=value);- Parameters:
key- the option name to set.value- the option value to set.- Returns:
- a ModelChange represents the modification.
-
reset
static ModelChange.ResetOption reset(String key)
A model change to reset the model option.It is equal to the following statement:
ALTER MODEL <model_name> RESET (key)- Parameters:
key- the option name to set.- Returns:
- a ModelChange represents the modification.
-
-