All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.statement.core.SelectFromDatabaseChangeLogLockStatement Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show newest version
package liquibase.statement.core;

import liquibase.change.ColumnConfig;
import liquibase.statement.AbstractSqlStatement;

public class SelectFromDatabaseChangeLogLockStatement extends AbstractSqlStatement {

    private ColumnConfig[] columnsToSelect;

    public SelectFromDatabaseChangeLogLockStatement() {
        this.columnsToSelect = new ColumnConfig[0];
    }

    public SelectFromDatabaseChangeLogLockStatement(String... columnsToSelect) {
        this.columnsToSelect = new ColumnConfig[columnsToSelect.length];
        for (int i=0; i< columnsToSelect.length; i++) {
            this.columnsToSelect[i] = new ColumnConfig().setName(columnsToSelect[i]);
        }
    }

    public SelectFromDatabaseChangeLogLockStatement(ColumnConfig... columnsToSelect) {
        this.columnsToSelect = columnsToSelect;
    }

    public ColumnConfig[] getColumnsToSelect() {
        return columnsToSelect;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy