public class SpoonDBDelegate extends SpoonDelegate
log, loggingObject, spoon
Constructor and Description |
---|
SpoonDBDelegate(Spoon spoon) |
Modifier and Type | Method and Description |
---|---|
void |
clearDBCache(DatabaseMeta databaseMeta) |
void |
clipConnection(DatabaseMeta databaseMeta) |
boolean |
copyTable(DatabaseMeta sourceDBInfo,
DatabaseMeta targetDBInfo,
String tablename) |
void |
delConnection(HasDatabasesInterface hasDatabasesInterface,
DatabaseMeta db)
Delete a database connection
|
void |
dupeConnection(HasDatabasesInterface hasDatabasesInterface,
DatabaseMeta databaseMeta) |
void |
editConnection(DatabaseMeta databaseMeta) |
String[] |
exploreDB(DatabaseMeta databaseMeta,
boolean aLook)
return a schema, table combination from the explorer
|
void |
getJobSQL(JobMeta jobMeta)
Get & show the SQL required to run the loaded job entry...
|
void |
getSQL() |
void |
getTransSQL(TransMeta transMeta)
Get & show the SQL required to run the loaded transformation...
|
void |
newConnection() |
void |
newConnection(HasDatabasesInterface hasDatabasesInterface) |
void |
saveConnection(DatabaseMeta db,
String versionComment) |
void |
setSharedObjectSyncUtil(SharedObjectSyncUtil sharedObjectSyncUtil) |
void |
sqlConnection(DatabaseMeta databaseMeta) |
getMaxTabLength
public SpoonDBDelegate(Spoon spoon)
public void setSharedObjectSyncUtil(SharedObjectSyncUtil sharedObjectSyncUtil)
public void sqlConnection(DatabaseMeta databaseMeta)
public void editConnection(DatabaseMeta databaseMeta)
public void dupeConnection(HasDatabasesInterface hasDatabasesInterface, DatabaseMeta databaseMeta)
public void clipConnection(DatabaseMeta databaseMeta)
public void delConnection(HasDatabasesInterface hasDatabasesInterface, DatabaseMeta db)
name
- The name of the database connection.public String[] exploreDB(DatabaseMeta databaseMeta, boolean aLook)
databaseMeta
- aLook
- public void clearDBCache(DatabaseMeta databaseMeta)
public void getSQL()
public void getTransSQL(TransMeta transMeta)
public void getJobSQL(JobMeta jobMeta)
public boolean copyTable(DatabaseMeta sourceDBInfo, DatabaseMeta targetDBInfo, String tablename)
public void saveConnection(DatabaseMeta db, String versionComment)
public void newConnection()
public void newConnection(HasDatabasesInterface hasDatabasesInterface)
Copyright © 2019 Hitachi Vantara. All rights reserved.