@PublicEvolving public static class FactoryUtil.TableFactoryHelper extends FactoryUtil.FactoryHelper<DynamicTableFactory>
DynamicTableFactory.allOptions, consumedOptionKeys, deprecatedOptionKeys, factory| Modifier and Type | Method and Description |
|---|---|
<I,F extends 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 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 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 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.
|
validate, validateExceptpublic org.apache.flink.configuration.ReadableConfig getOptions()
DynamicTableFactory.Context.getEnrichmentOptions(),
using DynamicTableFactory.forwardOptions() as reference of mergeable options.getOptions in class FactoryUtil.FactoryHelper<DynamicTableFactory>public <I,F extends DecodingFormatFactory<I>> 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 DecodingFormatFactory<I>> Optional<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 EncodingFormatFactory<I>> 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 EncodingFormatFactory<I>> Optional<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 © 2014–2024 The Apache Software Foundation. All rights reserved.