Package liquibase.ext.copy
Class CopyStatement
java.lang.Object
liquibase.ext.copy.CopyStatement
- All Implemented Interfaces:
liquibase.statement.ExecutablePreparedStatement,liquibase.statement.SqlStatement
public class CopyStatement
extends Object
implements liquibase.statement.ExecutablePreparedStatement
-
Field Summary
Fields inherited from interface liquibase.statement.SqlStatement
EMPTY_SQL_STATEMENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructorCopyStatement(InputStream stream, String schema, String table) Loaded stream to push into database -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidexecute(liquibase.database.PreparedStatementFactory factory) Getter for streamvoidsetCatalogName(String catalog) voidsetInputStream(InputStream stream) Setter for streamvoidsetSchemaName(String schema) voidsetTableName(String table) boolean
-
Constructor Details
-
CopyStatement
protected CopyStatement()Default constructor -
CopyStatement
Loaded stream to push into database- Parameters:
stream-
-
-
Method Details
-
getCatalogName
- Returns:
-
setCatalogName
- Parameters:
catalog-
-
getSchemaName
- Returns:
-
setSchemaName
- Parameters:
schema-
-
getTableName
- Returns:
-
setTableName
- Parameters:
table-
-
setInputStream
Setter for stream- Parameters:
stream-
-
getInputStream
Getter for stream- Returns:
- stream
-
skipOnUnsupported
public boolean skipOnUnsupported()- Specified by:
skipOnUnsupportedin interfaceliquibase.statement.SqlStatement
-
execute
public void execute(liquibase.database.PreparedStatementFactory factory) throws liquibase.exception.DatabaseException - Specified by:
executein interfaceliquibase.statement.ExecutablePreparedStatement- Throws:
liquibase.exception.DatabaseException
-
continueOnError
public boolean continueOnError()- Specified by:
continueOnErrorin interfaceliquibase.statement.SqlStatement
-