Class SocketDynamicTableFactory
java.lang.Object
org.apache.flink.table.examples.java.connectors.SocketDynamicTableFactory
- All Implemented Interfaces:
org.apache.flink.table.factories.DynamicTableFactory,org.apache.flink.table.factories.DynamicTableSourceFactory,org.apache.flink.table.factories.Factory
public final class SocketDynamicTableFactory
extends Object
implements org.apache.flink.table.factories.DynamicTableSourceFactory
The
SocketDynamicTableFactory translates the catalog table to a table source.
Because the table source requires a decoding format, we are discovering the format using the
provided FactoryUtil for convenience.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.factories.DynamicTableFactory
org.apache.flink.table.factories.DynamicTableFactory.Context -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.table.connector.source.DynamicTableSourcecreateDynamicTableSource(org.apache.flink.table.factories.DynamicTableFactory.Context context) Set<org.apache.flink.configuration.ConfigOption<?>>Set<org.apache.flink.configuration.ConfigOption<?>>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.factories.DynamicTableFactory
forwardOptions
-
Field Details
-
HOSTNAME
-
PORT
-
BYTE_DELIMITER
-
-
Constructor Details
-
SocketDynamicTableFactory
public SocketDynamicTableFactory()
-
-
Method Details
-
factoryIdentifier
- Specified by:
factoryIdentifierin interfaceorg.apache.flink.table.factories.Factory
-
requiredOptions
- Specified by:
requiredOptionsin interfaceorg.apache.flink.table.factories.Factory
-
optionalOptions
- Specified by:
optionalOptionsin interfaceorg.apache.flink.table.factories.Factory
-
createDynamicTableSource
public org.apache.flink.table.connector.source.DynamicTableSource createDynamicTableSource(org.apache.flink.table.factories.DynamicTableFactory.Context context) - Specified by:
createDynamicTableSourcein interfaceorg.apache.flink.table.factories.DynamicTableSourceFactory
-