Class SpoonDBDelegate
java.lang.Object
org.pentaho.di.ui.spoon.delegates.SpoonDelegate
org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate
-
Field Summary
Fields inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate
log, loggingObject, spoon -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearDBCache(org.pentaho.di.core.database.DatabaseMeta databaseMeta) voidclipConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta) booleancopyTable(org.pentaho.di.core.database.DatabaseMeta sourceDBInfo, org.pentaho.di.core.database.DatabaseMeta targetDBInfo, String tablename) voiddelConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface, org.pentaho.di.core.database.DatabaseMeta db) Delete a database connectionvoiddupeConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface, org.pentaho.di.core.database.DatabaseMeta databaseMeta) voideditConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta) String[]exploreDB(org.pentaho.di.core.database.DatabaseMeta databaseMeta, boolean aLook) return a schema, table combination from the explorervoidgetJobSQL(org.pentaho.di.job.JobMeta jobMeta) Get & show the SQL required to run the loaded job entry...voidgetSQL()voidgetTransSQL(org.pentaho.di.trans.TransMeta transMeta) Get & show the SQL required to run the loaded transformation...voidvoidnewConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface) voidsaveConnection(org.pentaho.di.core.database.DatabaseMeta db, String versionComment) voidsetSharedObjectSyncUtil(SharedObjectSyncUtil sharedObjectSyncUtil) voidsqlConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta) Methods inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate
getMaxTabLength
-
Constructor Details
-
SpoonDBDelegate
-
-
Method Details
-
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
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
-
newConnection
public void newConnection() -
newConnection
public void newConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface)