Class ExecNodeMetadataUtil
- java.lang.Object
-
- org.apache.flink.table.planner.plan.utils.ExecNodeMetadataUtil
-
@Internal public final class ExecNodeMetadataUtil extends Object
Utility class forExecNodeMetadata
related functionality.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExecNodeMetadataUtil.ExecNodeNameVersion
Helper Pojo used as a tuple for theLOOKUP_MAP
.
-
Field Summary
Fields Modifier and Type Field Description static Set<ConfigOption<?>>
EXECUTION_CONFIG_OPTIONS
static Set<ConfigOption<?>>
TABLE_CONFIG_OPTIONS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addTestNode(Class<? extends ExecNode<?>> execNodeClass)
static <T extends ExecNode<?>>
String[]consumedOptions(Class<T> execNodeClass)
static Set<Class<? extends ExecNode<?>>>
execNodes()
static <T extends ExecNode<?>>
List<ExecNodeMetadata>extractMetadataFromAnnotation(Class<T> execNodeClass)
static Map<ExecNodeMetadataUtil.ExecNodeNameVersion,Class<? extends ExecNode<?>>>
getVersionedExecNodes()
static <T extends ExecNode<?>>
booleanisUnsupported(Class<T> execNode)
static <T extends ExecNode<?>>
ExecNodeMetadatalatestAnnotation(Class<T> execNodeClass)
Returns theExecNodeMetadata
annotation of the class with the highest (most recent)ExecNodeMetadata.version()
.static <T extends ExecNode<?>>
ReadableConfignewPersistedConfig(Class<T> execNodeClass, ReadableConfig tableConfig, Stream<ConfigOption<?>> configOptions)
static Class<? extends ExecNode<?>>
retrieveExecNode(String name, int version)
-
-
-
Field Detail
-
TABLE_CONFIG_OPTIONS
public static final Set<ConfigOption<?>> TABLE_CONFIG_OPTIONS
-
EXECUTION_CONFIG_OPTIONS
public static final Set<ConfigOption<?>> EXECUTION_CONFIG_OPTIONS
-
-
Method Detail
-
getVersionedExecNodes
public static Map<ExecNodeMetadataUtil.ExecNodeNameVersion,Class<? extends ExecNode<?>>> getVersionedExecNodes()
-
retrieveExecNode
public static Class<? extends ExecNode<?>> retrieveExecNode(String name, int version)
-
extractMetadataFromAnnotation
public static <T extends ExecNode<?>> List<ExecNodeMetadata> extractMetadataFromAnnotation(Class<T> execNodeClass)
-
latestAnnotation
public static <T extends ExecNode<?>> ExecNodeMetadata latestAnnotation(Class<T> execNodeClass)
Returns theExecNodeMetadata
annotation of the class with the highest (most recent)ExecNodeMetadata.version()
.
-
consumedOptions
@Nullable public static <T extends ExecNode<?>> String[] consumedOptions(Class<T> execNodeClass)
-
newPersistedConfig
public static <T extends ExecNode<?>> ReadableConfig newPersistedConfig(Class<T> execNodeClass, ReadableConfig tableConfig, Stream<ConfigOption<?>> configOptions)
-
-