@Internal public static class FactoryUtil.DefaultCatalogStoreContext extends Object implements CatalogStoreFactory.Context
CatalogStoreFactory.Context
.Constructor and Description |
---|
DefaultCatalogStoreContext(Map<String,String> options,
ReadableConfig configuration,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getClassLoader()
Returns the class loader of the current session.
|
ReadableConfig |
getConfiguration()
Gives read-only access to the configuration of the current session.
|
Map<String,String> |
getOptions()
Returns the options with which the catalog store is created.
|
public DefaultCatalogStoreContext(Map<String,String> options, ReadableConfig configuration, ClassLoader classLoader)
public Map<String,String> getOptions()
CatalogStoreFactory.Context
An implementation should perform validation of these options.
getOptions
in interface CatalogStoreFactory.Context
public ReadableConfig getConfiguration()
CatalogStoreFactory.Context
getConfiguration
in interface CatalogStoreFactory.Context
public ClassLoader getClassLoader()
CatalogStoreFactory.Context
The class loader is in particular useful for discovering further (nested) factories.
getClassLoader
in interface CatalogStoreFactory.Context
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.