Class DbExportTables

java.lang.Object
de.bright_side.bdbexport.bl.DbExportTables

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

  • Method Details

    • getTableNames

      public java.util.List<java.lang.String> getTableNames​(java.sql.Connection connection, CatalogAndSchema catalogAndSchema) throws java.lang.Exception
      Parameters:
      connection - JDBC connection
      catalogAndSchema - may not be null. Contains the catalog and the schema to be exported
      Returns:
      table names sorted by dependency
      Throws:
      java.lang.Exception - thrown if an error occurs
    • exportTableDdl

      public void exportTableDdl​(InternalObjectExportRequest exportRequest, java.io.OutputStream outputStream) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • exportTableData

      public void exportTableData​(InternalObjectExportRequest exportRequest, CancelReceiver cancelReceiver, java.io.OutputStream outputStream) throws java.lang.Exception
      Throws:
      java.lang.Exception