public class ExportXmlCommand extends AbstractSchemaDataSourceCommand
logger| Constructor and Description |
|---|
ExportXmlCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRun() |
java.util.function.Consumer<com.sqlapp.data.schemas.DbObject<?>> |
getConverter() |
java.lang.String[] |
getExcludeObjects() |
java.lang.String[] |
getExcludeRowDumpTables() |
java.lang.String[] |
getExcludeSchemas() |
java.lang.String[] |
getIncludeObjects() |
java.lang.String[] |
getIncludeRowDumpTables() |
java.lang.String[] |
getIncludeSchemas() |
protected com.sqlapp.data.db.metadata.MetadataReader |
getMetadataReader() |
protected com.sqlapp.data.db.metadata.ReadDbObjectPredicate |
getMetadataReaderFilter() |
com.sqlapp.data.db.sql.Options |
getOptions() |
java.lang.String |
getOutputFileFullPath() |
java.lang.String |
getOutputFileName() |
java.io.File |
getOutputPath() |
protected com.sqlapp.data.schemas.RowIteratorHandler |
getRowIteratorHandler() |
java.lang.String |
getTarget() |
boolean |
isDumpRows() |
boolean |
isOnlyCurrentCatalog() |
boolean |
isOnlyCurrentSchema() |
void |
setConverter(java.util.function.Consumer<com.sqlapp.data.schemas.DbObject<?>> converter) |
void |
setDumpRows(boolean dumpRows) |
void |
setExcludeObjects(java.lang.String... excludeObjects) |
void |
setExcludeRowDumpTables(java.lang.String... excludeRowDumpTables) |
void |
setExcludeSchemas(java.lang.String... excludeSchemas) |
void |
setIncludeObjects(java.lang.String... includeObjects) |
void |
setIncludeRowDumpTables(java.lang.String... includeRowDumpTables) |
void |
setIncludeSchemas(java.lang.String... includeSchemas) |
void |
setOnlyCurrentCatalog(boolean onlyCurrentCatalog) |
void |
setOnlyCurrentSchema(boolean onlyCurrentSchema) |
void |
setOptions(com.sqlapp.data.db.sql.Options options) |
void |
setOutputFileName(java.lang.String outputFileName) |
void |
setOutputPath(java.io.File outputPath) |
void |
setTarget(java.lang.String target) |
getSchemas, getSchemas, getSqlFactoryRegistry, setSqlFactoryRegistrycreateOutputTextBuilder, getConnection, getConnectionHandler, getCurrentCatalogName, getCurrentSchemaName, getDataSource, getDialect, getDialect, newConverters, releaseConnection, setConnection, setConnectionHandler, setDataSource, setDialectcreateJsonConverter, getContext, getConvertHandler, getErr, getExceptionHandler, initialize, initializeContext, println, run, setConvertHandler, setExceptionHandlerprotected void doRun()
doRun in class AbstractCommandprotected com.sqlapp.data.db.metadata.MetadataReader getMetadataReader()
protected com.sqlapp.data.schemas.RowIteratorHandler getRowIteratorHandler()
protected com.sqlapp.data.db.metadata.ReadDbObjectPredicate getMetadataReaderFilter()
public java.lang.String getTarget()
public void setTarget(java.lang.String target)
target - the target to setpublic boolean isDumpRows()
public void setDumpRows(boolean dumpRows)
dumpRows - the dumpRows to setpublic java.lang.String[] getIncludeRowDumpTables()
public void setIncludeRowDumpTables(java.lang.String... includeRowDumpTables)
includeRowDumpTables - the includeRowDumpTables to setpublic java.lang.String[] getExcludeRowDumpTables()
public void setExcludeRowDumpTables(java.lang.String... excludeRowDumpTables)
excludeRowDumpTables - the excludeRowDumpTables to setpublic java.lang.String[] getIncludeSchemas()
public void setIncludeSchemas(java.lang.String... includeSchemas)
includeSchemas - the includeSchemas to setpublic java.lang.String[] getExcludeSchemas()
public void setExcludeSchemas(java.lang.String... excludeSchemas)
excludeSchemas - the excludeSchemas to setpublic java.lang.String[] getIncludeObjects()
public void setIncludeObjects(java.lang.String... includeObjects)
includeObjects - the includeObjects to setpublic java.lang.String[] getExcludeObjects()
public void setExcludeObjects(java.lang.String... excludeObjects)
excludeObjects - the excludeObjects to setpublic java.lang.String getOutputFileName()
public void setOutputFileName(java.lang.String outputFileName)
outputFileName - the outputFileName to setpublic java.io.File getOutputPath()
public void setOutputPath(java.io.File outputPath)
outputPath - the outputPath to setpublic java.lang.String getOutputFileFullPath()
public boolean isOnlyCurrentCatalog()
public void setOnlyCurrentCatalog(boolean onlyCurrentCatalog)
onlyCurrentCatalog - the onlyCurrentCatalog to setpublic boolean isOnlyCurrentSchema()
public void setOnlyCurrentSchema(boolean onlyCurrentSchema)
onlyCurrentSchema - the onlyCurrentSchema to setpublic java.util.function.Consumer<com.sqlapp.data.schemas.DbObject<?>> getConverter()
public void setConverter(java.util.function.Consumer<com.sqlapp.data.schemas.DbObject<?>> converter)
converter - the converter to setpublic com.sqlapp.data.db.sql.Options getOptions()
public void setOptions(com.sqlapp.data.db.sql.Options options)