クラス ExportXmlCommand
- java.lang.Object
-
- com.sqlapp.data.db.command.AbstractCommand
-
- com.sqlapp.data.db.command.AbstractDataSourceCommand
-
- com.sqlapp.data.db.command.AbstractSchemaDataSourceCommand
-
- com.sqlapp.data.db.command.ExportXmlCommand
-
- すべての実装されたインタフェース:
java.lang.Runnable
public class ExportXmlCommand extends AbstractSchemaDataSourceCommand
Export XMLコマンド
-
-
フィールドの概要
-
クラスから継承されたフィールド com.sqlapp.data.db.command.AbstractCommand
logger
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 ExportXmlCommand()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 protected voiddoRun()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.MetadataReadergetMetadataReader(com.sqlapp.data.db.dialect.Dialect dialect)protected com.sqlapp.data.db.metadata.ReadDbObjectPredicategetMetadataReaderFilter()com.sqlapp.data.db.sql.OptionsgetOptions()java.lang.StringgetOutputFileFullPath()java.lang.StringgetOutputFileName()java.io.FilegetOutputPath()protected com.sqlapp.data.schemas.RowIteratorHandlergetRowIteratorHandler()java.lang.StringgetTarget()booleanisDumpRows()booleanisOnlyCurrentCatalog()booleanisOnlyCurrentSchema()voidsetConverter(java.util.function.Consumer<com.sqlapp.data.schemas.DbObject<?>> converter)voidsetDumpRows(boolean dumpRows)voidsetExcludeObjects(java.lang.String... excludeObjects)voidsetExcludeRowDumpTables(java.lang.String... excludeRowDumpTables)voidsetExcludeSchemas(java.lang.String... excludeSchemas)voidsetIncludeObjects(java.lang.String... includeObjects)voidsetIncludeRowDumpTables(java.lang.String... includeRowDumpTables)voidsetIncludeSchemas(java.lang.String... includeSchemas)voidsetOnlyCurrentCatalog(boolean onlyCurrentCatalog)voidsetOnlyCurrentSchema(boolean onlyCurrentSchema)voidsetOptions(com.sqlapp.data.db.sql.Options options)voidsetOutputFileName(java.lang.String outputFileName)voidsetOutputPath(java.io.File outputPath)voidsetTarget(java.lang.String target)-
クラスから継承されたメソッド com.sqlapp.data.db.command.AbstractSchemaDataSourceCommand
getSchemas, getSqlFactoryRegistry, setSqlFactoryRegistry
-
クラスから継承されたメソッド com.sqlapp.data.db.command.AbstractDataSourceCommand
createOutputTextBuilder, getConnection, getConnectionHandler, getCurrentCatalogName, getCurrentSchemaName, getDataSource, getDialect, newConverters, releaseConnection, rollback, setConnection, setConnectionHandler, setDataSource, setDialect
-
クラスから継承されたメソッド com.sqlapp.data.db.command.AbstractCommand
createJsonConverter, createYamlConverter, getContext, getConvertHandler, getErr, getExceptionHandler, initialize, initializeContext, println, run, setConvertHandler, setExceptionHandler
-
-
-
-
メソッドの詳細
-
doRun
protected void doRun()
- 定義:
doRunクラス内AbstractCommand
-
getMetadataReader
protected com.sqlapp.data.db.metadata.MetadataReader getMetadataReader(com.sqlapp.data.db.dialect.Dialect dialect)
-
getRowIteratorHandler
protected com.sqlapp.data.schemas.RowIteratorHandler getRowIteratorHandler()
-
getMetadataReaderFilter
protected com.sqlapp.data.db.metadata.ReadDbObjectPredicate getMetadataReaderFilter()
-
getTarget
public java.lang.String getTarget()
- 戻り値:
- the target
-
setTarget
public void setTarget(java.lang.String target)
- パラメータ:
target- the target to set
-
isDumpRows
public boolean isDumpRows()
- 戻り値:
- the dumpRows
-
setDumpRows
public void setDumpRows(boolean dumpRows)
- パラメータ:
dumpRows- the dumpRows to set
-
getIncludeRowDumpTables
public java.lang.String[] getIncludeRowDumpTables()
- 戻り値:
- the includeRowDumpTables
-
setIncludeRowDumpTables
public void setIncludeRowDumpTables(java.lang.String... includeRowDumpTables)
- パラメータ:
includeRowDumpTables- the includeRowDumpTables to set
-
getExcludeRowDumpTables
public java.lang.String[] getExcludeRowDumpTables()
- 戻り値:
- the excludeRowDumpTables
-
setExcludeRowDumpTables
public void setExcludeRowDumpTables(java.lang.String... excludeRowDumpTables)
- パラメータ:
excludeRowDumpTables- the excludeRowDumpTables to set
-
getIncludeSchemas
public java.lang.String[] getIncludeSchemas()
- 戻り値:
- the includeSchemas
-
setIncludeSchemas
public void setIncludeSchemas(java.lang.String... includeSchemas)
- パラメータ:
includeSchemas- the includeSchemas to set
-
getExcludeSchemas
public java.lang.String[] getExcludeSchemas()
- 戻り値:
- the excludeSchemas
-
setExcludeSchemas
public void setExcludeSchemas(java.lang.String... excludeSchemas)
- パラメータ:
excludeSchemas- the excludeSchemas to set
-
getIncludeObjects
public java.lang.String[] getIncludeObjects()
- 戻り値:
- the includeObjects
-
setIncludeObjects
public void setIncludeObjects(java.lang.String... includeObjects)
- パラメータ:
includeObjects- the includeObjects to set
-
getExcludeObjects
public java.lang.String[] getExcludeObjects()
- 戻り値:
- the excludeObjects
-
setExcludeObjects
public void setExcludeObjects(java.lang.String... excludeObjects)
- パラメータ:
excludeObjects- the excludeObjects to set
-
getOutputFileName
public java.lang.String getOutputFileName()
- 戻り値:
- the outputFileName
-
setOutputFileName
public void setOutputFileName(java.lang.String outputFileName)
- パラメータ:
outputFileName- the outputFileName to set
-
getOutputPath
public java.io.File getOutputPath()
- 戻り値:
- the outputPath
-
setOutputPath
public void setOutputPath(java.io.File outputPath)
- パラメータ:
outputPath- the outputPath to set
-
getOutputFileFullPath
public java.lang.String getOutputFileFullPath()
-
isOnlyCurrentCatalog
public boolean isOnlyCurrentCatalog()
- 戻り値:
- the onlyCurrentCatalog
-
setOnlyCurrentCatalog
public void setOnlyCurrentCatalog(boolean onlyCurrentCatalog)
- パラメータ:
onlyCurrentCatalog- the onlyCurrentCatalog to set
-
isOnlyCurrentSchema
public boolean isOnlyCurrentSchema()
- 戻り値:
- the onlyCurrentSchema
-
setOnlyCurrentSchema
public void setOnlyCurrentSchema(boolean onlyCurrentSchema)
- パラメータ:
onlyCurrentSchema- the onlyCurrentSchema to set
-
getConverter
public java.util.function.Consumer<com.sqlapp.data.schemas.DbObject<?>> getConverter()
- 戻り値:
- the converter
-
setConverter
public void setConverter(java.util.function.Consumer<com.sqlapp.data.schemas.DbObject<?>> converter)
- パラメータ:
converter- the converter to set
-
getOptions
public com.sqlapp.data.db.sql.Options getOptions()
-
setOptions
public void setOptions(com.sqlapp.data.db.sql.Options options)
-
-