Interface ConfigRepository
-
public interface ConfigRepository
Task reactor configuration repository utility.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskReactorConfig
getConfig()
Returns a task reactor configuration.static ConfigRepository
getInstance(Session session, Identifier instanceName)
Returns a new instance of the default repository implementation.void
update(String key, String value)
Updates task reactor configuration.
-
-
-
Method Detail
-
getConfig
TaskReactorConfig getConfig()
Returns a task reactor configuration.- Returns:
- configuration value
-
update
void update(String key, String value)
Updates task reactor configuration.- Parameters:
key
- Configuration key to update.value
- Configuration value of key to be updated.
-
getInstance
static ConfigRepository getInstance(Session session, Identifier instanceName)
Returns a new instance of the default repository implementation.Default implementation of the repository uses:
- a default implementation of
DefaultConfigRepository
, created for the<schema>.CONFIG
table.
- Parameters:
session
- Snowpark session objectinstanceName
- Identifier of Task Reactor schema- Returns:
- a new repository instance
- a default implementation of
-
-