Class BulkExportRequest

java.lang.Object
de.bright_side.bdbexport.model.BulkExportRequest

public class BulkExportRequest
extends java.lang.Object
  • Constructor Details

  • Method Details

    • getConnection

      public java.sql.Connection getConnection()
    • setConnection

      public void setConnection​(java.sql.Connection connection)
    • getUserName

      public java.lang.String getUserName()
    • setUserName

      public void setUserName​(java.lang.String userName)
      if no value is set the user name is determined from the current connection
      Parameters:
      userName - user name
    • isSortTableData

      public boolean isSortTableData()
    • setSortTableData

      public void setSortTableData​(boolean sortTableData)
    • getObjectTypes

      public java.util.Set<DbExporter.ObjectType> getObjectTypes()
    • setObjectTypes

      public void setObjectTypes​(java.util.Set<DbExporter.ObjectType> objectTypes)
      if no value is set, all object types are exported
      Parameters:
      objectTypes - set of object types to be exported
    • getWhereClause

      public java.lang.String getWhereClause()
    • setWhereClause

      public void setWhereClause​(java.lang.String whereClause)
    • getTargetDbType

      public DbExporter.DbType getTargetDbType()
    • setTargetDbType

      public void setTargetDbType​(DbExporter.DbType targetDbType)
      if no value is set the target database type is assumed to be the same as the database type of the connection
      Parameters:
      targetDbType - target database type
    • getClobExportMaxLength

      public int getClobExportMaxLength()
    • setClobExportMaxLength

      public void setClobExportMaxLength​(int clobExportMaxLength)
      if no value is set the default value DbExporter.DEFAULT_CLOB_EXPORT_MAX_LENGTH is used
      Parameters:
      clobExportMaxLength - maximum length of the CLOB export per line
    • getCatalog

      public java.lang.String getCatalog()
    • setCatalog

      public void setCatalog​(java.lang.String catalog)
      if no value is set the catalog name is determined from the current connection. The catalog may also be irrelevant for some database types
      Parameters:
      catalog - catalog name
    • getSchema

      public java.lang.String getSchema()
    • setSchema

      public void setSchema​(java.lang.String schema)
      if no value is set the schema name is determined from the current connection
      Parameters:
      schema - schema name
    • getTableDdlFilter

      public ObjectNameFilter getTableDdlFilter()
    • setTableDdlFilter

      public void setTableDdlFilter​(ObjectNameFilter tableDdlFilter)
      if no value is set objects with all names are exported. If the ObjectNameFilter.include or ObjectNameFilter.exclude is null, it means "all".
      Parameters:
      tableDdlFilter - table DDL filter: names of tables for which the DDL should be exported
    • getTableDataFilter

      public ObjectNameFilter getTableDataFilter()
    • setTableDataFilter

      public void setTableDataFilter​(ObjectNameFilter tableDataFilter)
      if no value is set objects with all names are exported. If the ObjectNameFilter.include or ObjectNameFilter.exclude is null, it means "all".
      Parameters:
      tableDataFilter - table data filter: names of tables of which the data should be be exported
    • getViewDdlFilter

      public ObjectNameFilter getViewDdlFilter()
    • setViewDdlFilter

      public void setViewDdlFilter​(ObjectNameFilter viewDdlFilter)
      if no value is set objects with all names are exported. If the ObjectNameFilter.include or ObjectNameFilter.exclude is null, it means "all".
      Parameters:
      viewDdlFilter - view DDL filter: names of views to be exported