| 1 | |
package liquibase.statement.core; |
| 2 | |
|
| 3 | |
import liquibase.change.ColumnConfig; |
| 4 | |
import liquibase.statement.AbstractSqlStatement; |
| 5 | |
|
| 6 | |
import java.util.List; |
| 7 | |
|
| 8 | |
public class CopyRowsStatement extends AbstractSqlStatement { |
| 9 | |
|
| 10 | |
private String sourceTable; |
| 11 | |
private String targetTable; |
| 12 | |
private List<ColumnConfig> copyColumns; |
| 13 | |
|
| 14 | 0 | public CopyRowsStatement(String sourceTable, String targetTable, List<ColumnConfig> copyColumns) { |
| 15 | 0 | this.sourceTable = sourceTable; |
| 16 | 0 | this.targetTable = targetTable; |
| 17 | 0 | this.copyColumns = copyColumns; |
| 18 | 0 | } |
| 19 | |
|
| 20 | |
public String getSourceTable() { |
| 21 | 0 | return this.sourceTable; |
| 22 | |
} |
| 23 | |
|
| 24 | |
public String getTargetTable() { |
| 25 | 0 | return this.targetTable; |
| 26 | |
} |
| 27 | |
|
| 28 | |
public List<ColumnConfig> getCopyColumns() { |
| 29 | 0 | return this.copyColumns; |
| 30 | |
} |
| 31 | |
} |