public class WriteDataToFileCommand extends ConvertingDatabaseCommand
_addIdentityUsingAlterTable, _isolationLevel, _platformConf| Constructor and Description |
|---|
WriteDataToFileCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(DatabaseTaskBase task,
Database model)
Executes this command.
|
boolean |
isRequiringModel()
Specifies whether this command requires a model, i.e.
|
void |
setDetermineSchema(boolean determineSchema)
Deprecated.
Will be removed once proper schema support is in place
|
void |
setEncoding(String encoding)
Specifies the encoding of the XML file.
|
void |
setOutputFile(File outputFile)
Specifies the file to write the data XML to.
|
addConfiguredConverter, getDataIOgetCatalogPattern, getDatabaseType, getDataSource, getIsolationLevel, getPlatform, getSchemaPattern, isAddIdentityUsingAlterTable, setAddIdentityUsingAlterTable, setIsolationLevel, setPlatformConfigurationhandleException, isFailOnError, setFailOnErrorpublic void setOutputFile(File outputFile)
outputFile - The output filepublic void setEncoding(String encoding)
encoding - The encodingpublic void setDetermineSchema(boolean determineSchema)
determineSchema - Whether to try to find the table's schemaspublic boolean isRequiringModel()
Command.execute(DatabaseTaskBase, Database) cannot be null.isRequiringModel in class DatabaseCommandtrue if this command requires a modelpublic void execute(DatabaseTaskBase task, Database model) throws org.apache.tools.ant.BuildException
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.