@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,
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,
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,
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,
ConfigOption<String> formatOption)
Discovers a
EncodingFormat of the given type using the given option (if present)
as factory identifier. |
ReadableConfig |
getOptions()
Returns all options currently being consumed by the factory.
|
validate, validateExcept
public 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, 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, 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, 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, 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.