public static class FlinkFactoryUtil.FlinkTableFactoryHelper extends FlinkFactoryUtil.FlinkFactoryHelper<LogStoreTableFactory>
DynamicTableFactory
.#createFlinkTableFactoryHelper(LogStoreTableFactory, Context)
allOptions, consumedOptionKeys, deprecatedOptionKeys, factory
Modifier and Type | Method and Description |
---|---|
<I,F extends org.apache.flink.table.factories.DecodingFormatFactory<I>> |
discoverDecodingFormat(Class<F> formatFactoryClass,
org.apache.flink.configuration.ConfigOption<String> formatOption)
Discovers a
DecodingFormat of the given type using the given option as factory
identifier. |
<I,F extends org.apache.flink.table.factories.EncodingFormatFactory<I>> |
discoverEncodingFormat(Class<F> formatFactoryClass,
org.apache.flink.configuration.ConfigOption<String> formatOption)
Discovers a
EncodingFormat of the given type using the given option as factory
identifier. |
<I,F extends org.apache.flink.table.factories.DecodingFormatFactory<I>> |
discoverOptionalDecodingFormat(Class<F> formatFactoryClass,
org.apache.flink.configuration.ConfigOption<String> formatOption)
Discovers a
DecodingFormat of the given type using the given option (if present)
as factory identifier. |
<I,F extends org.apache.flink.table.factories.EncodingFormatFactory<I>> |
discoverOptionalEncodingFormat(Class<F> formatFactoryClass,
org.apache.flink.configuration.ConfigOption<String> formatOption)
Discovers a
EncodingFormat of the given type using the given option (if present)
as factory identifier. |
org.apache.flink.configuration.ReadableConfig |
getOptions()
Returns all options currently being consumed by the factory.
|
public org.apache.flink.configuration.ReadableConfig getOptions()
DynamicTableFactory.Context.getEnrichmentOptions()
, using DynamicTableFactory.forwardOptions()
as reference of mergeable options.getOptions
in class FlinkFactoryUtil.FlinkFactoryHelper<LogStoreTableFactory>
public <I,F extends org.apache.flink.table.factories.DecodingFormatFactory<I>> org.apache.flink.table.connector.format.DecodingFormat<I> discoverDecodingFormat(Class<F> formatFactoryClass, org.apache.flink.configuration.ConfigOption<String> formatOption)
DecodingFormat
of the given type using the given option as factory
identifier.public <I,F extends org.apache.flink.table.factories.DecodingFormatFactory<I>> Optional<org.apache.flink.table.connector.format.DecodingFormat<I>> discoverOptionalDecodingFormat(Class<F> formatFactoryClass, org.apache.flink.configuration.ConfigOption<String> formatOption)
DecodingFormat
of the given type using the given option (if present)
as factory identifier.public <I,F extends org.apache.flink.table.factories.EncodingFormatFactory<I>> org.apache.flink.table.connector.format.EncodingFormat<I> discoverEncodingFormat(Class<F> formatFactoryClass, org.apache.flink.configuration.ConfigOption<String> formatOption)
EncodingFormat
of the given type using the given option as factory
identifier.public <I,F extends org.apache.flink.table.factories.EncodingFormatFactory<I>> Optional<org.apache.flink.table.connector.format.EncodingFormat<I>> discoverOptionalEncodingFormat(Class<F> formatFactoryClass, org.apache.flink.configuration.ConfigOption<String> formatOption)
EncodingFormat
of the given type using the given option (if present)
as factory identifier.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.