public final class SocketDynamicTableFactory extends Object implements org.apache.flink.table.factories.DynamicTableSourceFactory
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.
Modifier and Type | Field and Description |
---|---|
static org.apache.flink.configuration.ConfigOption<Integer> |
BYTE_DELIMITER |
static org.apache.flink.configuration.ConfigOption<String> |
HOSTNAME |
static org.apache.flink.configuration.ConfigOption<Integer> |
PORT |
Constructor and Description |
---|
SocketDynamicTableFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.table.connector.source.DynamicTableSource |
createDynamicTableSource(org.apache.flink.table.factories.DynamicTableFactory.Context context) |
String |
factoryIdentifier() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
optionalOptions() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
requiredOptions() |
public static final org.apache.flink.configuration.ConfigOption<String> HOSTNAME
public static final org.apache.flink.configuration.ConfigOption<Integer> PORT
public static final org.apache.flink.configuration.ConfigOption<Integer> BYTE_DELIMITER
public String factoryIdentifier()
factoryIdentifier
in interface org.apache.flink.table.factories.Factory
public Set<org.apache.flink.configuration.ConfigOption<?>> requiredOptions()
requiredOptions
in interface org.apache.flink.table.factories.Factory
public Set<org.apache.flink.configuration.ConfigOption<?>> optionalOptions()
optionalOptions
in interface org.apache.flink.table.factories.Factory
public org.apache.flink.table.connector.source.DynamicTableSource createDynamicTableSource(org.apache.flink.table.factories.DynamicTableFactory.Context context)
createDynamicTableSource
in interface org.apache.flink.table.factories.DynamicTableSourceFactory
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.