Interface ConfigRepository


  • public interface ConfigRepository
    Task reactor configuration repository utility.
    • 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 object
        instanceName - Identifier of Task Reactor schema
        Returns:
        a new repository instance