public interface Repository
Modifier and Type | Method and Description |
---|---|
void |
clearSharedObjectCache()
Clear the shared object cache, if applicable.
|
void |
connect(String username,
String password)
Connect to the repository.
|
int |
countNrJobEntryAttributes(org.pentaho.di.repository.ObjectId id_jobentry,
String code) |
int |
countNrStepAttributes(org.pentaho.di.repository.ObjectId id_step,
String code) |
org.pentaho.di.repository.RepositoryDirectoryInterface |
createRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface parentDirectory,
String directoryPath)
Create a new directory, possibly by creating several sub-directies of / at the same time.
|
void |
deleteClusterSchema(org.pentaho.di.repository.ObjectId id_cluster) |
void |
deleteDatabaseMeta(String databaseName)
Remove a database connection from the repository
|
void |
deleteJob(org.pentaho.di.repository.ObjectId id_job) |
void |
deletePartitionSchema(org.pentaho.di.repository.ObjectId id_partition_schema) |
void |
deleteRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir) |
void |
deleteSlave(org.pentaho.di.repository.ObjectId id_slave) |
void |
deleteTransformation(org.pentaho.di.repository.ObjectId id_transformation)
Delete everything related to a transformation from the repository.
|
void |
disconnect()
Disconnect from the repository.
|
boolean |
exists(String name,
org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory,
org.pentaho.di.repository.RepositoryObjectType objectType)
See if a repository object exists in the repository
|
org.pentaho.di.repository.RepositoryDirectoryInterface |
findDirectory(org.pentaho.di.repository.ObjectId directory) |
org.pentaho.di.repository.RepositoryDirectoryInterface |
findDirectory(String directory) |
org.pentaho.di.repository.ObjectId |
getClusterID(String name) |
org.pentaho.di.repository.ObjectId[] |
getClusterIDs(boolean includeDeleted) |
String[] |
getClusterNames(boolean includeDeleted) |
String |
getConnectMessage()
This is an informational message that a repository can display on connecting within Spoon.
|
org.pentaho.di.repository.ObjectId |
getDatabaseID(String name) |
org.pentaho.di.repository.ObjectId[] |
getDatabaseIDs(boolean includeDeleted) |
String[] |
getDatabaseNames(boolean includeDeleted) |
org.pentaho.di.repository.RepositoryDirectoryInterface |
getDefaultSaveDirectory(org.pentaho.di.repository.RepositoryElementInterface repositoryElement) |
String[] |
getDirectoryNames(org.pentaho.di.repository.ObjectId id_directory)
Returns the child directory names of a parent directory
|
IRepositoryExporter |
getExporter() |
IRepositoryImporter |
getImporter() |
List<org.pentaho.di.repository.RepositoryElementMetaInterface> |
getJobAndTransformationObjects(org.pentaho.di.repository.ObjectId id_directory,
boolean includeDeleted)
Gets all job and transformation objects in the given directory.
|
boolean |
getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code) |
boolean |
getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry,
String code) |
boolean |
getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry,
String code,
boolean def) |
long |
getJobEntryAttributeInteger(org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code) |
long |
getJobEntryAttributeInteger(org.pentaho.di.repository.ObjectId id_jobentry,
String code) |
String |
getJobEntryAttributeString(org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code) |
String |
getJobEntryAttributeString(org.pentaho.di.repository.ObjectId id_jobentry,
String code) |
org.pentaho.di.repository.ObjectId |
getJobId(String name,
org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory) |
String[] |
getJobNames(org.pentaho.di.repository.ObjectId id_directory,
boolean includeDeleted) |
List<org.pentaho.di.repository.RepositoryElementMetaInterface> |
getJobObjects(org.pentaho.di.repository.ObjectId id_directory,
boolean includeDeleted) |
String[] |
getJobsUsingDatabase(org.pentaho.di.repository.ObjectId id_database)
Get the repository version.
|
org.pentaho.di.core.logging.LogChannelInterface |
getLog() |
org.pentaho.metastore.api.IMetaStore |
getMetaStore() |
String |
getName() |
RepositoryObject |
getObjectInformation(org.pentaho.di.repository.ObjectId objectId,
org.pentaho.di.repository.RepositoryObjectType objectType)
Get more information about a certain object ID in the form of the RepositoryObject
|
org.pentaho.di.repository.ObjectId |
getPartitionSchemaID(String name) |
org.pentaho.di.repository.ObjectId[] |
getPartitionSchemaIDs(boolean includeDeleted) |
String[] |
getPartitionSchemaNames(boolean includeDeleted) |
RepositoryMeta |
getRepositoryMeta() |
RepositorySecurityManager |
getSecurityManager() |
RepositorySecurityProvider |
getSecurityProvider() |
IRepositoryService |
getService(Class<? extends IRepositoryService> clazz)
Retrieves a given repository service
|
List<Class<? extends IRepositoryService>> |
getServiceInterfaces()
Retrieves the current list of of IRepository Services.
|
org.pentaho.di.repository.ObjectId |
getSlaveID(String name) |
org.pentaho.di.repository.ObjectId[] |
getSlaveIDs(boolean includeDeleted) |
String[] |
getSlaveNames(boolean includeDeleted) |
List<SlaveServer> |
getSlaveServers() |
boolean |
getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step,
int nr,
String code) |
boolean |
getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step,
int nr,
String code,
boolean def) |
boolean |
getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step,
String code) |
long |
getStepAttributeInteger(org.pentaho.di.repository.ObjectId id_step,
int nr,
String code) |
long |
getStepAttributeInteger(org.pentaho.di.repository.ObjectId id_step,
String code) |
String |
getStepAttributeString(org.pentaho.di.repository.ObjectId id_step,
int nr,
String code) |
String |
getStepAttributeString(org.pentaho.di.repository.ObjectId id_step,
String code) |
org.pentaho.di.repository.ObjectId |
getTransformationID(String name,
org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory) |
String[] |
getTransformationNames(org.pentaho.di.repository.ObjectId id_directory,
boolean includeDeleted) |
List<org.pentaho.di.repository.RepositoryElementMetaInterface> |
getTransformationObjects(org.pentaho.di.repository.ObjectId id_directory,
boolean includeDeleted) |
String[] |
getTransformationsUsingDatabase(org.pentaho.di.repository.ObjectId id_database) |
org.pentaho.di.repository.RepositoryDirectoryInterface |
getUserHomeDirectory() |
IUser |
getUserInfo() |
String |
getVersion()
Get the repository version.
|
boolean |
hasService(Class<? extends IRepositoryService> clazz)
Checks whether a given repository service is available or not
|
void |
init(RepositoryMeta repositoryMeta)
Initialize the repository with the repository metadata and user information.
|
void |
insertJobEntryDatabase(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
org.pentaho.di.repository.ObjectId id_database) |
org.pentaho.di.repository.ObjectId |
insertLogEntry(String description)
Insert an entry in the audit trail of the repository.
|
void |
insertStepDatabase(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
org.pentaho.di.repository.ObjectId id_database) |
boolean |
isConnected() |
ClusterSchema |
loadClusterSchema(org.pentaho.di.repository.ObjectId id_cluster_schema,
List<SlaveServer> slaveServers,
String versionLabel) |
org.pentaho.di.core.Condition |
loadConditionFromStepAttribute(org.pentaho.di.repository.ObjectId id_step,
String code)
Load a condition from the repository with the Object ID stored in a step attribute.
|
org.pentaho.di.core.database.DatabaseMeta |
loadDatabaseMeta(org.pentaho.di.repository.ObjectId id_database,
String revision)
Load the Database connection Metadata from the repository
|
org.pentaho.di.core.database.DatabaseMeta |
loadDatabaseMetaFromJobEntryAttribute(org.pentaho.di.repository.ObjectId id_jobentry,
String nameCode,
int nr,
String idCode,
List<org.pentaho.di.core.database.DatabaseMeta> databases)
This method is introduced to avoid having to go over an integer/string/whatever in the interface and the job entry code.
|
org.pentaho.di.core.database.DatabaseMeta |
loadDatabaseMetaFromJobEntryAttribute(org.pentaho.di.repository.ObjectId id_jobentry,
String nameCode,
String idCode,
List<org.pentaho.di.core.database.DatabaseMeta> databases)
This method is introduced to avoid having to go over an integer/string/whatever in the interface and the job entry code.
|
org.pentaho.di.core.database.DatabaseMeta |
loadDatabaseMetaFromStepAttribute(org.pentaho.di.repository.ObjectId id_step,
String code,
List<org.pentaho.di.core.database.DatabaseMeta> databases)
This method is introduced to avoid having to go over an integer/string/whatever in the interface and the step code.
|
JobMeta |
loadJob(org.pentaho.di.repository.ObjectId id_job,
String versionLabel)
Load a job from the repository by id
|
JobMeta |
loadJob(String jobname,
org.pentaho.di.repository.RepositoryDirectoryInterface repdir,
org.pentaho.di.core.ProgressMonitorListener monitor,
String revision)
Load a job from the repository
|
PartitionSchema |
loadPartitionSchema(org.pentaho.di.repository.ObjectId id_partition_schema,
String versionLabel) |
org.pentaho.di.repository.RepositoryDirectoryInterface |
loadRepositoryDirectoryTree() |
SlaveServer |
loadSlaveServer(org.pentaho.di.repository.ObjectId id_slave_server,
String versionLabel) |
TransMeta |
loadTransformation(org.pentaho.di.repository.ObjectId id_transformation,
String versionLabel)
Load a transformation by id
|
TransMeta |
loadTransformation(String transname,
org.pentaho.di.repository.RepositoryDirectoryInterface repdir,
org.pentaho.di.core.ProgressMonitorListener monitor,
boolean setInternalVariables,
String revision)
Load a transformation with a name from a folder in the repository
|
List<org.pentaho.di.core.database.DatabaseMeta> |
readDatabases()
Read all the databases defined in the repository
|
SharedObjects |
readJobMetaSharedObjects(JobMeta jobMeta) |
SharedObjects |
readTransSharedObjects(TransMeta transMeta) |
org.pentaho.di.repository.ObjectId |
renameJob(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.RepositoryDirectoryInterface newDirectory,
String newName)
Move / rename a job
|
org.pentaho.di.repository.ObjectId |
renameRepositoryDirectory(org.pentaho.di.repository.ObjectId id,
org.pentaho.di.repository.RepositoryDirectoryInterface newParentDir,
String newName)
Move / rename a repository directory
|
org.pentaho.di.repository.ObjectId |
renameTransformation(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.RepositoryDirectoryInterface newDirectory,
String newName)
Move / rename a transformation
|
void |
save(org.pentaho.di.repository.RepositoryElementInterface repositoryElement,
String versionComment,
Calendar versionDate,
org.pentaho.di.core.ProgressMonitorListener monitor,
boolean overwrite)
Save the object to the repository with version comments as well as version dates.
|
void |
save(org.pentaho.di.repository.RepositoryElementInterface repositoryElement,
String versionComment,
org.pentaho.di.core.ProgressMonitorListener monitor) |
void |
save(org.pentaho.di.repository.RepositoryElementInterface repositoryElement,
String versionComment,
org.pentaho.di.core.ProgressMonitorListener monitor,
boolean overwrite)
Save an object to the repository optionally overwriting any associated objects.
|
void |
saveConditionStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
String code,
org.pentaho.di.core.Condition condition)
This method saves the object ID of the condition object (if not null) in the step attributes
|
void |
saveDatabaseMetaJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String nameCode,
String idCode,
org.pentaho.di.core.database.DatabaseMeta database)
This method saves the object ID of the database object (if not null) in the job entry attributes
|
void |
saveDatabaseMetaJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
String nameCode,
String idCode,
org.pentaho.di.core.database.DatabaseMeta database)
This method saves the object ID of the database object (if not null) in the job entry attributes
|
void |
saveDatabaseMetaStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
String code,
org.pentaho.di.core.database.DatabaseMeta database)
This method saves the object ID of the database object (if not null) in the step attributes
|
void |
saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code,
boolean value) |
void |
saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code,
long value) |
void |
saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code,
String value) |
void |
saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
String code,
boolean value) |
void |
saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
String code,
long value) |
void |
saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
String code,
String value) |
void |
saveRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir) |
void |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
int nr,
String code,
boolean value) |
void |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
int nr,
String code,
double value) |
void |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
int nr,
String code,
long value) |
void |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
int nr,
String code,
String value) |
void |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
String code,
boolean value) |
void |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
String code,
double value) |
void |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
String code,
long value) |
void |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
String code,
String value) |
void |
undeleteObject(org.pentaho.di.repository.RepositoryElementMetaInterface repositoryObject)
Removes he deleted flag from a repository element in the repository.
|
String getName()
String getVersion()
RepositoryMeta getRepositoryMeta()
IUser getUserInfo()
RepositorySecurityProvider getSecurityProvider()
RepositorySecurityManager getSecurityManager()
org.pentaho.di.core.logging.LogChannelInterface getLog()
void connect(String username, String password) throws org.pentaho.di.core.exception.KettleException, org.pentaho.di.core.exception.KettleSecurityException
username
- the username of the user connecting to the repository.password
- the password of the user connecting to the repository.org.pentaho.di.core.exception.KettleSecurityException
- in case the supplied user or password is incorrect.org.pentaho.di.core.exception.KettleException
- in case there is a general unexpected error OR if we're already connected to the repository.void disconnect()
boolean isConnected()
void init(RepositoryMeta repositoryMeta)
boolean exists(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory, org.pentaho.di.repository.RepositoryObjectType objectType) throws org.pentaho.di.core.exception.KettleException
name
- the name of the objectrepositoryDirectory
- the directory in which it should resideobjectType
- the type of repository objectorg.pentaho.di.core.exception.KettleException
- in case something goes wrong.org.pentaho.di.repository.ObjectId getTransformationID(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId getJobId(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void save(org.pentaho.di.repository.RepositoryElementInterface repositoryElement, String versionComment, org.pentaho.di.core.ProgressMonitorListener monitor) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void save(org.pentaho.di.repository.RepositoryElementInterface repositoryElement, String versionComment, org.pentaho.di.core.ProgressMonitorListener monitor, boolean overwrite) throws org.pentaho.di.core.exception.KettleException
repositoryElement
- Object to saveversionComment
- Version comment for updatemonitor
- Progress Monitor to report feedback tooverwrite
- Overwrite any existing objects involved in saving repositoryElement
, e.g. repositoryElement, database connections, slave serversorg.pentaho.di.core.exception.KettleException
- Error saving the object to the repositoryvoid save(org.pentaho.di.repository.RepositoryElementInterface repositoryElement, String versionComment, Calendar versionDate, org.pentaho.di.core.ProgressMonitorListener monitor, boolean overwrite) throws org.pentaho.di.core.exception.KettleException
repositoryElement
- versionComment
- versionDate
- monitor
- overwrite
- org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.RepositoryDirectoryInterface getDefaultSaveDirectory(org.pentaho.di.repository.RepositoryElementInterface repositoryElement) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.RepositoryDirectoryInterface getUserHomeDirectory() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void clearSharedObjectCache()
TransMeta loadTransformation(String transname, org.pentaho.di.repository.RepositoryDirectoryInterface repdir, org.pentaho.di.core.ProgressMonitorListener monitor, boolean setInternalVariables, String revision) throws org.pentaho.di.core.exception.KettleException
transname
- the name of the transformation to loadThe
- folder to load it frommonitor
- the progress monitor to use (UI feedback)setInternalVariables
- set to true if you want to automatically set the internal variables of the loaded transformation. (true is the default with very few exceptions!)revision
- the revision to load. Specify null to load the last version.org.pentaho.di.core.exception.KettleException
TransMeta loadTransformation(org.pentaho.di.repository.ObjectId id_transformation, String versionLabel) throws org.pentaho.di.core.exception.KettleException
id_transformation
- the id of the transformation to loadversionLabel
- version to load. Specify null to load the last version.org.pentaho.di.core.exception.KettleException
SharedObjects readTransSharedObjects(TransMeta transMeta) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId renameTransformation(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.RepositoryDirectoryInterface newDirectory, String newName) throws org.pentaho.di.core.exception.KettleException
id_transformation
- The ObjectId of the transformation to movenewDirectory
- The RepositoryDirectoryInterface that will be the new parent of the transformation (May be null if a move is not desired)newName
- The new name of the transformation (May be null if a rename is not desired)org.pentaho.di.core.exception.KettleException
void deleteTransformation(org.pentaho.di.repository.ObjectId id_transformation) throws org.pentaho.di.core.exception.KettleException
id_transformation
- the transformation id to deleteorg.pentaho.di.core.exception.KettleException
JobMeta loadJob(String jobname, org.pentaho.di.repository.RepositoryDirectoryInterface repdir, org.pentaho.di.core.ProgressMonitorListener monitor, String revision) throws org.pentaho.di.core.exception.KettleException
jobname
- the namerepdir
- the directorymonitor
- the progress monitor or nullrevision
- the revision to load. Specify null to load the last version.org.pentaho.di.core.exception.KettleException
JobMeta loadJob(org.pentaho.di.repository.ObjectId id_job, String versionLabel) throws org.pentaho.di.core.exception.KettleException
id_job
- the id of the jobversionLabel
- version to load. Specify null to load the last version.org.pentaho.di.core.exception.KettleException
SharedObjects readJobMetaSharedObjects(JobMeta jobMeta) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId renameJob(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.RepositoryDirectoryInterface newDirectory, String newName) throws org.pentaho.di.core.exception.KettleException
id_job
- The ObjectId of the job to movenewDirectory
- The RepositoryDirectoryInterface that will be the new parent of the job (May be null if a move is not desired)newName
- The new name of the job (May be null if a rename is not desired)org.pentaho.di.core.exception.KettleException
void deleteJob(org.pentaho.di.repository.ObjectId id_job) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.database.DatabaseMeta loadDatabaseMeta(org.pentaho.di.repository.ObjectId id_database, String revision) throws org.pentaho.di.core.exception.KettleException
id_database
- the id of the database connection to loadrevision
- the revision to load. Specify null to load the last version.org.pentaho.di.core.exception.KettleException
- in case something goes wrong with database, connection, etc.void deleteDatabaseMeta(String databaseName) throws org.pentaho.di.core.exception.KettleException
databaseName
- The name of the connection to removeorg.pentaho.di.core.exception.KettleException
- In case something went wrong: database error, insufficient permissions, depending objects, etc.org.pentaho.di.repository.ObjectId[] getDatabaseIDs(boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String[] getDatabaseNames(boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
List<org.pentaho.di.core.database.DatabaseMeta> readDatabases() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId getDatabaseID(String name) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
ClusterSchema loadClusterSchema(org.pentaho.di.repository.ObjectId id_cluster_schema, List<SlaveServer> slaveServers, String versionLabel) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId[] getClusterIDs(boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String[] getClusterNames(boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId getClusterID(String name) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void deleteClusterSchema(org.pentaho.di.repository.ObjectId id_cluster) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
SlaveServer loadSlaveServer(org.pentaho.di.repository.ObjectId id_slave_server, String versionLabel) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId[] getSlaveIDs(boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String[] getSlaveNames(boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
List<SlaveServer> getSlaveServers() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId getSlaveID(String name) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void deleteSlave(org.pentaho.di.repository.ObjectId id_slave) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
PartitionSchema loadPartitionSchema(org.pentaho.di.repository.ObjectId id_partition_schema, String versionLabel) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId[] getPartitionSchemaIDs(boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String[] getPartitionSchemaNames(boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId getPartitionSchemaID(String name) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void deletePartitionSchema(org.pentaho.di.repository.ObjectId id_partition_schema) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.RepositoryDirectoryInterface loadRepositoryDirectoryTree() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.RepositoryDirectoryInterface findDirectory(String directory) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.RepositoryDirectoryInterface findDirectory(org.pentaho.di.repository.ObjectId directory) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void deleteRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface dir) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId renameRepositoryDirectory(org.pentaho.di.repository.ObjectId id, org.pentaho.di.repository.RepositoryDirectoryInterface newParentDir, String newName) throws org.pentaho.di.core.exception.KettleException
id
- The ObjectId of the repository directory to movenewParentDir
- The RepositoryDirectoryInterface that will be the new parent of the repository directory (May be null if a move is not desired)newName
- The new name of the repository directory (May be null if a rename is not desired)org.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.RepositoryDirectoryInterface createRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface parentDirectory, String directoryPath) throws org.pentaho.di.core.exception.KettleException
parentDirectory
- the parent directorydirectoryPath
- The path to the new Repository Directory, to be created.org.pentaho.di.core.exception.KettleException
- In case something goes wrongString[] getTransformationNames(org.pentaho.di.repository.ObjectId id_directory, boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
List<org.pentaho.di.repository.RepositoryElementMetaInterface> getJobObjects(org.pentaho.di.repository.ObjectId id_directory, boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
List<org.pentaho.di.repository.RepositoryElementMetaInterface> getTransformationObjects(org.pentaho.di.repository.ObjectId id_directory, boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
List<org.pentaho.di.repository.RepositoryElementMetaInterface> getJobAndTransformationObjects(org.pentaho.di.repository.ObjectId id_directory, boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
getJobObjects(ObjectId, boolean)
and getTransformationObjects(ObjectId, boolean)
into one
operation.id_directory
- directoryincludeDeleted
- true to return deleted objectsorg.pentaho.di.core.exception.KettleException
- In case something goes wrongString[] getJobNames(org.pentaho.di.repository.ObjectId id_directory, boolean includeDeleted) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String[] getDirectoryNames(org.pentaho.di.repository.ObjectId id_directory) throws org.pentaho.di.core.exception.KettleException
id_directory
- parent directory idorg.pentaho.di.core.exception.KettleException
org.pentaho.di.repository.ObjectId insertLogEntry(String description) throws org.pentaho.di.core.exception.KettleException
The
- description to be put in the audit trail of the repository.org.pentaho.di.core.exception.KettleException
void insertStepDatabase(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, org.pentaho.di.repository.ObjectId id_database) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void insertJobEntryDatabase(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, org.pentaho.di.repository.ObjectId id_database) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveConditionStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, String code, org.pentaho.di.core.Condition condition) throws org.pentaho.di.core.exception.KettleException
id_step
- code
- condition
- org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.Condition loadConditionFromStepAttribute(org.pentaho.di.repository.ObjectId id_step, String code) throws org.pentaho.di.core.exception.KettleException
id_step
- code
- org.pentaho.di.core.exception.KettleException
boolean getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step, int nr, String code, boolean def) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
boolean getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
boolean getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
long getStepAttributeInteger(org.pentaho.di.repository.ObjectId id_step, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
long getStepAttributeInteger(org.pentaho.di.repository.ObjectId id_step, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String getStepAttributeString(org.pentaho.di.repository.ObjectId id_step, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String getStepAttributeString(org.pentaho.di.repository.ObjectId id_step, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, int nr, String code, String value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, String code, String value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, int nr, String code, boolean value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, String code, boolean value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, int nr, String code, long value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, String code, long value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, int nr, String code, double value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, String code, double value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
int countNrStepAttributes(org.pentaho.di.repository.ObjectId id_step, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
int countNrJobEntryAttributes(org.pentaho.di.repository.ObjectId id_jobentry, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
boolean getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
boolean getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
boolean getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry, String code, boolean def) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
long getJobEntryAttributeInteger(org.pentaho.di.repository.ObjectId id_jobentry, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
long getJobEntryAttributeInteger(org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String getJobEntryAttributeString(org.pentaho.di.repository.ObjectId id_jobentry, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String getJobEntryAttributeString(org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code, String value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, String code, String value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code, boolean value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, String code, boolean value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code, long value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
void saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, String code, long value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.database.DatabaseMeta loadDatabaseMetaFromStepAttribute(org.pentaho.di.repository.ObjectId id_step, String code, List<org.pentaho.di.core.database.DatabaseMeta> databases) throws org.pentaho.di.core.exception.KettleException
id_step
- code
- org.pentaho.di.core.exception.KettleException
void saveDatabaseMetaStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, String code, org.pentaho.di.core.database.DatabaseMeta database) throws org.pentaho.di.core.exception.KettleException
id_transformation
- id_step
- code
- database
- org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.database.DatabaseMeta loadDatabaseMetaFromJobEntryAttribute(org.pentaho.di.repository.ObjectId id_jobentry, String nameCode, String idCode, List<org.pentaho.di.core.database.DatabaseMeta> databases) throws org.pentaho.di.core.exception.KettleException
id_step
- code
- org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.database.DatabaseMeta loadDatabaseMetaFromJobEntryAttribute(org.pentaho.di.repository.ObjectId id_jobentry, String nameCode, int nr, String idCode, List<org.pentaho.di.core.database.DatabaseMeta> databases) throws org.pentaho.di.core.exception.KettleException
id_entry
- nameCode
- nr
- idcode
- databases
- org.pentaho.di.core.exception.KettleException
void saveDatabaseMetaJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, String nameCode, String idCode, org.pentaho.di.core.database.DatabaseMeta database) throws org.pentaho.di.core.exception.KettleException
id_job
- id_jobentry
- idCode
- database
- org.pentaho.di.core.exception.KettleException
void saveDatabaseMetaJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, int nr, String nameCode, String idCode, org.pentaho.di.core.database.DatabaseMeta database) throws org.pentaho.di.core.exception.KettleException
id_job
- id_jobentry
- nr
- code
- database
- org.pentaho.di.core.exception.KettleException
void undeleteObject(org.pentaho.di.repository.RepositoryElementMetaInterface repositoryObject) throws org.pentaho.di.core.exception.KettleException
element
- the repository element to restoreorg.pentaho.di.core.exception.KettleException
- get throws in case something goes horribly wrong.List<Class<? extends IRepositoryService>> getServiceInterfaces() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
- in case something goes horribly wrong.IRepositoryService getService(Class<? extends IRepositoryService> clazz) throws org.pentaho.di.core.exception.KettleException
service
- class nameorg.pentaho.di.core.exception.KettleException
- in case something goes horribly wrong.boolean hasService(Class<? extends IRepositoryService> clazz) throws org.pentaho.di.core.exception.KettleException
repository
- service class that needs to be checked for supportorg.pentaho.di.core.exception.KettleException
- in case something goes horribly wrong.RepositoryObject getObjectInformation(org.pentaho.di.repository.ObjectId objectId, org.pentaho.di.repository.RepositoryObjectType objectType) throws org.pentaho.di.core.exception.KettleException
objectId
- The ID of the object to get more information about.objectType
- The type of object to investigate.org.pentaho.di.core.exception.KettleException
- In case there was a loading problem.String getConnectMessage()
String[] getJobsUsingDatabase(org.pentaho.di.repository.ObjectId id_database) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String[] getTransformationsUsingDatabase(org.pentaho.di.repository.ObjectId id_database) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
IRepositoryImporter getImporter()
IRepositoryExporter getExporter()
org.pentaho.metastore.api.IMetaStore getMetaStore()