public class SpoonDBDelegate extends SpoonDelegate
loggingObject
Constructor and Description |
---|
SpoonDBDelegate(Spoon spoon) |
Modifier and Type | Method and 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) |
String[] |
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 |
getSQL() |
void |
getTransSQL(org.pentaho.di.trans.TransMeta transMeta)
Get & show the SQL required to run the loaded transformation...
|
void |
newConnection() |
void |
newConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface) |
void |
saveConnection(org.pentaho.di.core.database.DatabaseMeta db,
String versionComment) |
void |
sqlConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta) |
public SpoonDBDelegate(Spoon spoon)
public void sqlConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
public void editConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
public void dupeConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
public void clipConnection(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
public void delConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface, org.pentaho.di.core.database.DatabaseMeta db)
name
- The name of the database connection.public String[] exploreDB(org.pentaho.di.core.database.DatabaseMeta databaseMeta, boolean aLook)
databaseMeta
- aLook
- public void clearDBCache(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
public void getSQL()
public void getTransSQL(org.pentaho.di.trans.TransMeta transMeta)
public void getJobSQL(org.pentaho.di.job.JobMeta jobMeta)
public boolean copyTable(org.pentaho.di.core.database.DatabaseMeta sourceDBInfo, org.pentaho.di.core.database.DatabaseMeta targetDBInfo, String tablename)
public void saveConnection(org.pentaho.di.core.database.DatabaseMeta db, String versionComment)
public void newConnection()
public void newConnection(org.pentaho.di.trans.HasDatabasesInterface hasDatabasesInterface)