Class SpoonDBDelegate

java.lang.Object
org.pentaho.di.ui.spoon.delegates.SpoonDelegate
org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate

public class SpoonDBDelegate extends SpoonDelegate
  • Field Summary

    Fields inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate

    log, loggingObject, spoon
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearDBCache(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
     
    void
    clipConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
     
    boolean
    copyTable(org.pentaho.di.core.database.DatabaseMeta sourceDBInfo, org.pentaho.di.core.database.DatabaseMeta targetDBInfo, String tablename)
     
    void
    delConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface, org.pentaho.di.core.database.DatabaseMeta db)
    Delete a database connection
    void
    dupeConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
     
    void
    editConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
     
    exploreDB(org.pentaho.di.core.database.DatabaseMeta databaseMeta, boolean aLook)
    return a schema, table combination from the explorer
    void
    getJobSQL(org.pentaho.di.job.JobMeta jobMeta)
    Get & show the SQL required to run the loaded job entry...
    void
     
    void
    getTransSQL(org.pentaho.di.trans.TransMeta transMeta)
    Get & show the SQL required to run the loaded transformation...
    void
     
    void
    newConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface)
     
    void
    saveConnection(org.pentaho.di.core.database.DatabaseMeta db, String versionComment)
     
    void
     
    void
    sqlConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
     

    Methods inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate

    getMaxTabLength

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpoonDBDelegate

      public SpoonDBDelegate(Spoon spoon)
  • Method Details

    • setSharedObjectSyncUtil

      public void setSharedObjectSyncUtil(SharedObjectSyncUtil sharedObjectSyncUtil)
    • sqlConnection

      public void sqlConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
    • editConnection

      public void editConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
    • dupeConnection

      public void dupeConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
    • clipConnection

      public void clipConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
    • delConnection

      public void delConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface, org.pentaho.di.core.database.DatabaseMeta db)
      Delete a database connection
      Parameters:
      name - The name of the database connection.
    • exploreDB

      public String[] exploreDB(org.pentaho.di.core.database.DatabaseMeta databaseMeta, boolean aLook)
      return a schema, table combination from the explorer
      Parameters:
      databaseMeta -
      aLook -
      Returns:
      schema [0] and table [1]
    • clearDBCache

      public void clearDBCache(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
    • getSQL

      public void getSQL()
    • getTransSQL

      public void getTransSQL(org.pentaho.di.trans.TransMeta transMeta)
      Get & show the SQL required to run the loaded transformation...
    • getJobSQL

      public void getJobSQL(org.pentaho.di.job.JobMeta jobMeta)
      Get & show the SQL required to run the loaded job entry...
    • copyTable

      public boolean copyTable(org.pentaho.di.core.database.DatabaseMeta sourceDBInfo, org.pentaho.di.core.database.DatabaseMeta targetDBInfo, String tablename)
    • saveConnection

      public void saveConnection(org.pentaho.di.core.database.DatabaseMeta db, String versionComment)
    • newConnection

      public void newConnection()
    • newConnection

      public void newConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface)