Class ObjectExportRequest

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

public class ObjectExportRequest
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)
    • getObjectType

      public DbExporter.ObjectType getObjectType()
    • setObjectType

      public void setObjectType​(DbExporter.ObjectType objectType)
    • getObjectName

      public java.lang.String getObjectName()
    • setObjectName

      public void setObjectName​(java.lang.String objectName)
    • 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 per CLOB export 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 - name of the catalog
    • 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 - name of the schema