Class CheckSchemaOperation

    • Constructor Detail

      • CheckSchemaOperation

        public CheckSchemaOperation​(ConnectionHelper connectionhelper,
                                    InputStream ddlStream,
                                    String tableName)
        Parameters:
        connectionhelper - the connection helper
        ddlStream - the stream of the DDL to use to create the schema if necessary (closed by the run() method)
        tableName - the name of the table to use for the schema-existence-check
    • Method Detail

      • addVariableReplacement

        public CheckSchemaOperation addVariableReplacement​(String var,
                                                           String replacement)
        Adds a variable replacement mapping.
        Parameters:
        var - the variable
        replacement - the replacement value
        Returns:
        this