Class DelegateExecutorFactory
- java.lang.Object
-
- org.apache.flink.table.planner.loader.DelegateExecutorFactory
-
- All Implemented Interfaces:
ExecutorFactory
,StreamExecutorFactory
,Factory
@Internal public class DelegateExecutorFactory extends Object implements StreamExecutorFactory
Delegate ofExecutorFactory
.
-
-
Field Summary
-
Fields inherited from interface org.apache.flink.table.delegation.ExecutorFactory
DEFAULT_IDENTIFIER
-
-
Constructor Summary
Constructors Constructor Description DelegateExecutorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Executor
create(Configuration configuration)
Creates a correspondingExecutor
.Executor
create(StreamExecutionEnvironment streamExecutionEnvironment)
Creates a correspondingExecutor
.String
factoryIdentifier()
Returns a unique identifier among same factory interfaces.Set<ConfigOption<?>>
optionalOptions()
Returns a set ofConfigOption
that an implementation of this factory consumes in addition toFactory.requiredOptions()
.Set<ConfigOption<?>>
requiredOptions()
Returns a set ofConfigOption
that an implementation of this factory requires in addition toFactory.optionalOptions()
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.factories.Factory
factoryIdentifier, optionalOptions, requiredOptions
-
-
-
-
Method Detail
-
create
public Executor create(Configuration configuration)
Description copied from interface:ExecutorFactory
Creates a correspondingExecutor
.- Specified by:
create
in interfaceExecutorFactory
-
create
public Executor create(StreamExecutionEnvironment streamExecutionEnvironment)
Description copied from interface:StreamExecutorFactory
Creates a correspondingExecutor
.This method will be used when instantiating a
TableEnvironment
from one of the bridging modules which enables conversion from/toDataStream
API.- Specified by:
create
in interfaceStreamExecutorFactory
-
factoryIdentifier
public String factoryIdentifier()
Description copied from interface:Factory
Returns a unique identifier among same factory interfaces.For consistency, an identifier should be declared as one lower case word (e.g.
kafka
). If multiple factories exist for different versions, a version should be appended using "-" (e.g.elasticsearch-7
).- Specified by:
factoryIdentifier
in interfaceFactory
-
requiredOptions
public Set<ConfigOption<?>> requiredOptions()
Description copied from interface:Factory
Returns a set ofConfigOption
that an implementation of this factory requires in addition toFactory.optionalOptions()
.See the documentation of
Factory
for more information.- Specified by:
requiredOptions
in interfaceFactory
-
optionalOptions
public Set<ConfigOption<?>> optionalOptions()
Description copied from interface:Factory
Returns a set ofConfigOption
that an implementation of this factory consumes in addition toFactory.requiredOptions()
.See the documentation of
Factory
for more information.- Specified by:
optionalOptions
in interfaceFactory
-
-