@PublicEvolving public static class FactoryUtil.CatalogFactoryHelper extends Object
CatalogFactory
.Constructor and Description |
---|
CatalogFactoryHelper(CatalogFactory catalogFactory,
CatalogFactory.Context context) |
Modifier and Type | Method and Description |
---|---|
ReadableConfig |
getOptions()
Returns all options of the catalog.
|
void |
validate()
Validates the options of the
CatalogFactory . |
void |
validateExcept(String... prefixesToSkip)
Validates the options of the
CatalogFactory . |
public CatalogFactoryHelper(CatalogFactory catalogFactory, CatalogFactory.Context context)
public void validate()
CatalogFactory
. It checks for unconsumed option
keys.public void validateExcept(String... prefixesToSkip)
CatalogFactory
. It checks for unconsumed option keys
while ignoring the options with given prefixes.
The option keys that have given prefix prefixToSkip
would just be skipped for
validation.
prefixesToSkip
- Set of option key prefixes to skip validationpublic ReadableConfig getOptions()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.