Class DbStatements.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • addStatement

        public DbStatements.Builder addStatement​(String name,
                                                 String statement)
        Add named database statement to database configuration..
        Parameters:
        name - database statement name
        statement - database statement String
        Returns:
        database provider builder
      • config

        public DbStatements.Builder config​(Config config)
        Set statements from configuration. Each key in the current node is treated as a name of the statement, each value as the statement content.
        Parameters:
        config - config node located on correct node
        Returns:
        updated builder instance