Skip to content

Commit 982f128

Browse files
committed
fix
1 parent e0851dd commit 982f128

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/Model.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
package org.apache.flink.table.api;
2020

2121
import org.apache.flink.annotation.PublicEvolving;
22-
import org.apache.flink.table.catalog.ContextResolvedModel;
2322
import org.apache.flink.table.catalog.ResolvedSchema;
2423
import org.apache.flink.types.ColumnList;
2524

@@ -60,16 +59,6 @@
6059
@PublicEvolving
6160
public interface Model {
6261

63-
/**
64-
* Returns the underlying resolved model.
65-
*
66-
* <p>This method provides access to the internal representation of the model, including its
67-
* configuration, input/output schemas, and other relevant details.
68-
*
69-
* @return the context resolved model metadata.
70-
*/
71-
ContextResolvedModel getModel();
72-
7362
/**
7463
* Returns the resolved input schema of this model.
7564
*

flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/ContextResolvedModel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
package org.apache.flink.table.catalog;
2020

21-
import org.apache.flink.annotation.PublicEvolving;
21+
import org.apache.flink.annotation.Internal;
2222
import org.apache.flink.table.factories.FactoryUtil;
2323
import org.apache.flink.util.Preconditions;
2424

@@ -47,7 +47,7 @@
4747
* specific {@link Catalog}/{@link CatalogManager} instances. For example, the same {@link
4848
* ResolvedCatalogModel} can be temporary for one catalog, but permanent for another one.
4949
*/
50-
@PublicEvolving
50+
@Internal
5151
public final class ContextResolvedModel {
5252

5353
private static final AtomicInteger uniqueId = new AtomicInteger(0);

0 commit comments

Comments
 (0)