public interface HasDatabasesInterface
Modifier and Type | Method and Description |
---|---|
void |
addDatabase(DatabaseMeta databaseMeta)
Add a database connection to the transformation.
|
void |
addDatabase(int p,
DatabaseMeta ci)
Add a database connection to the transformation on a certain location.
|
void |
addOrReplaceDatabase(DatabaseMeta databaseMeta)
Add a database connection to the transformation if that connection didn't exists yet.
|
DatabaseMeta |
findDatabase(String name)
Searches the list of databases for a database with a certain name
|
DatabaseMeta |
getDatabase(int i)
Retrieves a database connection information a a certain location.
|
List<DatabaseMeta> |
getDatabases()
Get an ArrayList of defined DatabaseInfo objects.
|
boolean |
haveConnectionsChanged()
Checks whether or not the connections have changed.
|
int |
indexOfDatabase(DatabaseMeta ci)
Find the location of database
|
int |
nrDatabases()
Count the nr of databases in the transformation.
|
void |
removeDatabase(int i)
Removes a database from the transformation on a certain location.
|
void |
setDatabases(List<DatabaseMeta> databases) |
List<DatabaseMeta> getDatabases()
void setDatabases(List<DatabaseMeta> databases)
databases
- The databases to set.void addDatabase(DatabaseMeta databaseMeta)
databaseMeta
- The database connection information.void addOrReplaceDatabase(DatabaseMeta databaseMeta)
databaseMeta
- The database connection information.void addDatabase(int p, DatabaseMeta ci)
p
- The locationci
- The database connection information.DatabaseMeta getDatabase(int i)
i
- The database number.void removeDatabase(int i)
i
- The locationint nrDatabases()
DatabaseMeta findDatabase(String name)
name
- The name of the database connectionint indexOfDatabase(DatabaseMeta ci)
ci
- The database queriedboolean haveConnectionsChanged()
Copyright © 2018 Hitachi Vantara. All rights reserved.