Class ExecNodeMetadataUtil
java.lang.Object
org.apache.flink.table.planner.plan.utils.ExecNodeMetadataUtil
Utility class for
ExecNodeMetadata related functionality.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper Pojo used as a tuple for theLOOKUP_MAP. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTestNode(Class<? extends ExecNode<?>> execNodeClass) consumedOptions(Class<T> execNodeClass) static <T extends ExecNode<?>>
List<ExecNodeMetadata>extractMetadataFromAnnotation(Class<T> execNodeClass) static Map<ExecNodeMetadataUtil.ExecNodeNameVersion,Class<? extends ExecNode<?>>> static <T extends ExecNode<?>>
booleanisUnsupported(Class<T> execNode) static <T extends ExecNode<?>>
ExecNodeMetadatalatestAnnotation(Class<T> execNodeClass) Returns theExecNodeMetadataannotation of the class with the highest (most recent)ExecNodeMetadata.version().static <T extends ExecNode<?>>
org.apache.flink.configuration.ReadableConfignewPersistedConfig(Class<T> execNodeClass, org.apache.flink.configuration.ReadableConfig tableConfig, Stream<org.apache.flink.configuration.ConfigOption<?>> configOptions) retrieveExecNode(String name, int version)
-
Field Details
-
TABLE_CONFIG_OPTIONS
-
EXECUTION_CONFIG_OPTIONS
-
-
Method Details
-
execNodes
-
getVersionedExecNodes
public static Map<ExecNodeMetadataUtil.ExecNodeNameVersion,Class<? extends ExecNode<?>>> getVersionedExecNodes() -
retrieveExecNode
-
isUnsupported
-
addTestNode
-
extractMetadataFromAnnotation
public static <T extends ExecNode<?>> List<ExecNodeMetadata> extractMetadataFromAnnotation(Class<T> execNodeClass) -
latestAnnotation
Returns theExecNodeMetadataannotation of the class with the highest (most recent)ExecNodeMetadata.version(). -
consumedOptions
-
newPersistedConfig
-