org.pentaho.di.ui.spoon.delegates
Class SpoonDBDelegate
java.lang.Object
org.pentaho.di.ui.spoon.delegates.SpoonDelegate
org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate
public class SpoonDBDelegate
- extends SpoonDelegate
SpoonDBDelegate
public SpoonDBDelegate(Spoon spoon)
sqlConnection
public void sqlConnection(DatabaseMeta databaseMeta)
editConnection
public void editConnection(DatabaseMeta databaseMeta)
dupeConnection
public void dupeConnection(HasDatabasesInterface hasDatabasesInterface,
DatabaseMeta databaseMeta)
clipConnection
public void clipConnection(DatabaseMeta databaseMeta)
delConnection
public void delConnection(HasDatabasesInterface hasDatabasesInterface,
DatabaseMeta db)
- Delete a database connection
- Parameters:
name
- The name of the database connection.
exploreDB
public String[] exploreDB(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(DatabaseMeta databaseMeta)
getSQL
public void getSQL()
getTransSQL
public void getTransSQL(TransMeta transMeta)
- Get & show the SQL required to run the loaded transformation...
getJobSQL
public void getJobSQL(JobMeta jobMeta)
- Get & show the SQL required to run the loaded job entry...
copyTable
public boolean copyTable(DatabaseMeta sourceDBInfo,
DatabaseMeta targetDBInfo,
String tablename)
saveConnection
public void saveConnection(DatabaseMeta db,
String versionComment)
newConnection
public void newConnection()
newConnection
public void newConnection(HasDatabasesInterface hasDatabasesInterface)