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(ObjectId id_jobentry,
String code) |
int |
countNrStepAttributes(ObjectId id_step,
String code) |
RepositoryDirectoryInterface |
createRepositoryDirectory(RepositoryDirectoryInterface parentDirectory,
String directoryPath)
Create a new directory, possibly by creating several sub-directies of / at the same time.
|
void |
deleteClusterSchema(ObjectId id_cluster) |
void |
deleteDatabaseMeta(String databaseName)
Remove a database connection from the repository
|
void |
deleteJob(ObjectId id_job) |
void |
deletePartitionSchema(ObjectId id_partition_schema) |
void |
deleteRepositoryDirectory(RepositoryDirectoryInterface dir) |
void |
deleteSlave(ObjectId id_slave) |
void |
deleteTransformation(ObjectId id_transformation)
Delete everything related to a transformation from the repository.
|
void |
disconnect()
Disconnect from the repository.
|
boolean |
exists(String name,
RepositoryDirectoryInterface repositoryDirectory,
RepositoryObjectType objectType)
See if a repository object exists in the repository
|
RepositoryDirectoryInterface |
findDirectory(ObjectId directory) |
RepositoryDirectoryInterface |
findDirectory(String directory) |
ObjectId |
getClusterID(String name) |
ObjectId[] |
getClusterIDs(boolean includeDeleted) |
String[] |
getClusterNames(boolean includeDeleted) |
String |
getConnectMessage()
This is an informational message that a repository can display on connecting within Spoon.
|
ObjectId |
getDatabaseID(String name) |
ObjectId[] |
getDatabaseIDs(boolean includeDeleted) |
String[] |
getDatabaseNames(boolean includeDeleted) |
RepositoryDirectoryInterface |
getDefaultSaveDirectory(RepositoryElementInterface repositoryElement) |
String[] |
getDirectoryNames(ObjectId id_directory)
Returns the child directory names of a parent directory
|
IRepositoryExporter |
getExporter() |
IRepositoryImporter |
getImporter() |
List<RepositoryElementMetaInterface> |
getJobAndTransformationObjects(ObjectId id_directory,
boolean includeDeleted)
Gets all job and transformation objects in the given directory.
|
boolean |
getJobEntryAttributeBoolean(ObjectId id_jobentry,
int nr,
String code) |
boolean |
getJobEntryAttributeBoolean(ObjectId id_jobentry,
String code) |
boolean |
getJobEntryAttributeBoolean(ObjectId id_jobentry,
String code,
boolean def) |
long |
getJobEntryAttributeInteger(ObjectId id_jobentry,
int nr,
String code) |
long |
getJobEntryAttributeInteger(ObjectId id_jobentry,
String code) |
String |
getJobEntryAttributeString(ObjectId id_jobentry,
int nr,
String code) |
String |
getJobEntryAttributeString(ObjectId id_jobentry,
String code) |
ObjectId |
getJobId(String name,
RepositoryDirectoryInterface repositoryDirectory) |
String[] |
getJobNames(ObjectId id_directory,
boolean includeDeleted) |
List<RepositoryElementMetaInterface> |
getJobObjects(ObjectId id_directory,
boolean includeDeleted) |
String[] |
getJobsUsingDatabase(ObjectId id_database)
Get the repository version.
|
LogChannelInterface |
getLog() |
org.pentaho.metastore.api.IMetaStore |
getMetaStore() |
String |
getName() |
RepositoryObject |
getObjectInformation(ObjectId objectId,
RepositoryObjectType objectType)
Get more information about a certain object ID in the form of the RepositoryObject
|
ObjectId |
getPartitionSchemaID(String name) |
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.
|
ObjectId |
getSlaveID(String name) |
ObjectId[] |
getSlaveIDs(boolean includeDeleted) |
String[] |
getSlaveNames(boolean includeDeleted) |
List<SlaveServer> |
getSlaveServers() |
boolean |
getStepAttributeBoolean(ObjectId id_step,
int nr,
String code) |
boolean |
getStepAttributeBoolean(ObjectId id_step,
int nr,
String code,
boolean def) |
boolean |
getStepAttributeBoolean(ObjectId id_step,
String code) |
long |
getStepAttributeInteger(ObjectId id_step,
int nr,
String code) |
long |
getStepAttributeInteger(ObjectId id_step,
String code) |
String |
getStepAttributeString(ObjectId id_step,
int nr,
String code) |
String |
getStepAttributeString(ObjectId id_step,
String code) |
ObjectId |
getTransformationID(String name,
RepositoryDirectoryInterface repositoryDirectory) |
String[] |
getTransformationNames(ObjectId id_directory,
boolean includeDeleted) |
List<RepositoryElementMetaInterface> |
getTransformationObjects(ObjectId id_directory,
boolean includeDeleted) |
String[] |
getTransformationsUsingDatabase(ObjectId id_database) |
org.pentaho.platform.api.repository2.unified.IUnifiedRepository |
getUnderlyingRepository() |
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(ObjectId id_job,
ObjectId id_jobentry,
ObjectId id_database) |
ObjectId |
insertLogEntry(String description)
Insert an entry in the audit trail of the repository.
|
void |
insertStepDatabase(ObjectId id_transformation,
ObjectId id_step,
ObjectId id_database) |
boolean |
isConnected() |
ClusterSchema |
loadClusterSchema(ObjectId id_cluster_schema,
List<SlaveServer> slaveServers,
String versionLabel) |
Condition |
loadConditionFromStepAttribute(ObjectId id_step,
String code)
Load a condition from the repository with the Object ID stored in a step attribute.
|
DatabaseMeta |
loadDatabaseMeta(ObjectId id_database,
String revision)
Load the Database connection Metadata from the repository
|
DatabaseMeta |
loadDatabaseMetaFromJobEntryAttribute(ObjectId id_jobentry,
String nameCode,
int nr,
String idCode,
List<DatabaseMeta> databases)
This method is introduced to avoid having to go over an integer/string/whatever in the interface and the job entry
code.
|
DatabaseMeta |
loadDatabaseMetaFromJobEntryAttribute(ObjectId id_jobentry,
String nameCode,
String idCode,
List<DatabaseMeta> databases)
This method is introduced to avoid having to go over an integer/string/whatever in the interface and the job entry
code.
|
DatabaseMeta |
loadDatabaseMetaFromStepAttribute(ObjectId id_step,
String code,
List<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(ObjectId id_job,
String versionLabel)
Load a job from the repository by id
|
JobMeta |
loadJob(String jobname,
RepositoryDirectoryInterface repdir,
ProgressMonitorListener monitor,
String revision)
Load a job from the repository
|
PartitionSchema |
loadPartitionSchema(ObjectId id_partition_schema,
String versionLabel) |
RepositoryDirectoryInterface |
loadRepositoryDirectoryTree() |
SlaveServer |
loadSlaveServer(ObjectId id_slave_server,
String versionLabel) |
TransMeta |
loadTransformation(ObjectId id_transformation,
String versionLabel)
Load a transformation by id
|
TransMeta |
loadTransformation(String transname,
RepositoryDirectoryInterface repdir,
ProgressMonitorListener monitor,
boolean setInternalVariables,
String revision)
Load a transformation with a name from a folder in the repository
|
List<DatabaseMeta> |
readDatabases()
Read all the databases defined in the repository
|
SharedObjects |
readJobMetaSharedObjects(JobMeta jobMeta) |
SharedObjects |
readTransSharedObjects(TransMeta transMeta) |
ObjectId |
renameJob(ObjectId id_job,
RepositoryDirectoryInterface newDirectory,
String newName)
Move / rename a job
|
ObjectId |
renameJob(ObjectId id_job,
String versionComment,
RepositoryDirectoryInterface newDirectory,
String newName)
Move / rename a job
|
ObjectId |
renameRepositoryDirectory(ObjectId id,
RepositoryDirectoryInterface newParentDir,
String newName)
Move / rename a repository directory
|
ObjectId |
renameTransformation(ObjectId id_transformation,
RepositoryDirectoryInterface newDirectory,
String newName)
Move / rename a transformation
|
ObjectId |
renameTransformation(ObjectId id_transformation,
String versionComment,
RepositoryDirectoryInterface newDirectory,
String newName)
Move / rename a transformation
|
void |
save(RepositoryElementInterface repositoryElement,
String versionComment,
Calendar versionDate,
ProgressMonitorListener monitor,
boolean overwrite)
Save the object to the repository with version comments as well as version dates.
|
void |
save(RepositoryElementInterface repositoryElement,
String versionComment,
ProgressMonitorListener monitor) |
void |
save(RepositoryElementInterface repositoryElement,
String versionComment,
ProgressMonitorListener monitor,
boolean overwrite)
Save an object to the repository optionally overwriting any associated objects.
|
void |
saveConditionStepAttribute(ObjectId id_transformation,
ObjectId id_step,
String code,
Condition condition)
This method saves the object ID of the condition object (if not null) in the step attributes
|
void |
saveDatabaseMetaJobEntryAttribute(ObjectId id_job,
ObjectId id_jobentry,
int nr,
String nameCode,
String idCode,
DatabaseMeta database)
This method saves the object ID of the database object (if not null) in the job entry attributes
|
void |
saveDatabaseMetaJobEntryAttribute(ObjectId id_job,
ObjectId id_jobentry,
String nameCode,
String idCode,
DatabaseMeta database)
This method saves the object ID of the database object (if not null) in the job entry attributes
|
void |
saveDatabaseMetaStepAttribute(ObjectId id_transformation,
ObjectId id_step,
String code,
DatabaseMeta database)
This method saves the object ID of the database object (if not null) in the step attributes
|
void |
saveJobEntryAttribute(ObjectId id_job,
ObjectId id_jobentry,
int nr,
String code,
boolean value) |
void |
saveJobEntryAttribute(ObjectId id_job,
ObjectId id_jobentry,
int nr,
String code,
long value) |
void |
saveJobEntryAttribute(ObjectId id_job,
ObjectId id_jobentry,
int nr,
String code,
String value) |
void |
saveJobEntryAttribute(ObjectId id_job,
ObjectId id_jobentry,
String code,
boolean value) |
void |
saveJobEntryAttribute(ObjectId id_job,
ObjectId id_jobentry,
String code,
long value) |
void |
saveJobEntryAttribute(ObjectId id_job,
ObjectId id_jobentry,
String code,
String value) |
void |
saveRepositoryDirectory(RepositoryDirectoryInterface dir) |
void |
saveStepAttribute(ObjectId id_transformation,
ObjectId id_step,
int nr,
String code,
boolean value) |
void |
saveStepAttribute(ObjectId id_transformation,
ObjectId id_step,
int nr,
String code,
double value) |
void |
saveStepAttribute(ObjectId id_transformation,
ObjectId id_step,
int nr,
String code,
long value) |
void |
saveStepAttribute(ObjectId id_transformation,
ObjectId id_step,
int nr,
String code,
String value) |
void |
saveStepAttribute(ObjectId id_transformation,
ObjectId id_step,
String code,
boolean value) |
void |
saveStepAttribute(ObjectId id_transformation,
ObjectId id_step,
String code,
double value) |
void |
saveStepAttribute(ObjectId id_transformation,
ObjectId id_step,
String code,
long value) |
void |
saveStepAttribute(ObjectId id_transformation,
ObjectId id_step,
String code,
String value) |
void |
undeleteObject(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()
LogChannelInterface getLog()
void connect(String username, String password) throws KettleException, KettleSecurityException
username - the username of the user connecting to the repository.password - the password of the user connecting to the repository.KettleSecurityException - in case the supplied user or password is incorrect.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, RepositoryDirectoryInterface repositoryDirectory, RepositoryObjectType objectType) throws KettleException
name - the name of the objectrepositoryDirectory - the directory in which it should resideobjectType - the type of repository objectKettleException - in case something goes wrong.ObjectId getTransformationID(String name, RepositoryDirectoryInterface repositoryDirectory) throws KettleException
KettleExceptionObjectId getJobId(String name, RepositoryDirectoryInterface repositoryDirectory) throws KettleException
KettleExceptionvoid save(RepositoryElementInterface repositoryElement, String versionComment, ProgressMonitorListener monitor) throws KettleException
KettleExceptionvoid save(RepositoryElementInterface repositoryElement, String versionComment, ProgressMonitorListener monitor, boolean overwrite) throws 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 serversKettleException - Error saving the object to the repositoryvoid save(RepositoryElementInterface repositoryElement, String versionComment, Calendar versionDate, ProgressMonitorListener monitor, boolean overwrite) throws KettleException
repositoryElement - versionComment - versionDate - monitor - overwrite - KettleExceptionRepositoryDirectoryInterface getDefaultSaveDirectory(RepositoryElementInterface repositoryElement) throws KettleException
KettleExceptionRepositoryDirectoryInterface getUserHomeDirectory() throws KettleException
KettleExceptionvoid clearSharedObjectCache()
TransMeta loadTransformation(String transname, RepositoryDirectoryInterface repdir, ProgressMonitorListener monitor, boolean setInternalVariables, String revision) throws 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.KettleExceptionTransMeta loadTransformation(ObjectId id_transformation, String versionLabel) throws KettleException
id_transformation - the id of the transformation to loadversionLabel - version to load. Specify null to load the last version.KettleExceptionSharedObjects readTransSharedObjects(TransMeta transMeta) throws KettleException
KettleExceptionObjectId renameTransformation(ObjectId id_transformation, RepositoryDirectoryInterface newDirectory, String newName) throws 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)KettleExceptionObjectId renameTransformation(ObjectId id_transformation, String versionComment, RepositoryDirectoryInterface newDirectory, String newName) throws KettleException
id_transformation - The ObjectId of the transformation to moveversionComment - Version comment for renamenewDirectory - 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)KettleExceptionvoid deleteTransformation(ObjectId id_transformation) throws KettleException
id_transformation - the transformation id to deleteKettleExceptionJobMeta loadJob(String jobname, RepositoryDirectoryInterface repdir, ProgressMonitorListener monitor, String revision) throws KettleException
jobname - the namerepdir - the directorymonitor - the progress monitor or nullrevision - the revision to load. Specify null to load the last version.KettleExceptionJobMeta loadJob(ObjectId id_job, String versionLabel) throws KettleException
id_job - the id of the jobversionLabel - version to load. Specify null to load the last version.KettleExceptionSharedObjects readJobMetaSharedObjects(JobMeta jobMeta) throws KettleException
KettleExceptionObjectId renameJob(ObjectId id_job, String versionComment, RepositoryDirectoryInterface newDirectory, String newName) throws KettleException
id_job - The ObjectId of the job to moveversionComment - Version comment for renamenewDirectory - 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)KettleExceptionObjectId renameJob(ObjectId id_job, RepositoryDirectoryInterface newDirectory, String newName) throws 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)KettleExceptionvoid deleteJob(ObjectId id_job) throws KettleException
KettleExceptionDatabaseMeta loadDatabaseMeta(ObjectId id_database, String revision) throws KettleException
id_database - the id of the database connection to loadrevision - the revision to load. Specify null to load the last version.KettleException - in case something goes wrong with database, connection, etc.void deleteDatabaseMeta(String databaseName) throws KettleException
databaseName - The name of the connection to removeKettleException - In case something went wrong: database error, insufficient permissions, depending objects, etc.ObjectId[] getDatabaseIDs(boolean includeDeleted) throws KettleException
KettleExceptionString[] getDatabaseNames(boolean includeDeleted) throws KettleException
KettleExceptionList<DatabaseMeta> readDatabases() throws KettleException
KettleExceptionObjectId getDatabaseID(String name) throws KettleException
KettleExceptionClusterSchema loadClusterSchema(ObjectId id_cluster_schema, List<SlaveServer> slaveServers, String versionLabel) throws KettleException
KettleExceptionObjectId[] getClusterIDs(boolean includeDeleted) throws KettleException
KettleExceptionString[] getClusterNames(boolean includeDeleted) throws KettleException
KettleExceptionObjectId getClusterID(String name) throws KettleException
KettleExceptionvoid deleteClusterSchema(ObjectId id_cluster) throws KettleException
KettleExceptionSlaveServer loadSlaveServer(ObjectId id_slave_server, String versionLabel) throws KettleException
KettleExceptionObjectId[] getSlaveIDs(boolean includeDeleted) throws KettleException
KettleExceptionString[] getSlaveNames(boolean includeDeleted) throws KettleException
KettleExceptionList<SlaveServer> getSlaveServers() throws KettleException
KettleExceptionObjectId getSlaveID(String name) throws KettleException
KettleExceptionvoid deleteSlave(ObjectId id_slave) throws KettleException
KettleExceptionPartitionSchema loadPartitionSchema(ObjectId id_partition_schema, String versionLabel) throws KettleException
KettleExceptionObjectId[] getPartitionSchemaIDs(boolean includeDeleted) throws KettleException
KettleExceptionString[] getPartitionSchemaNames(boolean includeDeleted) throws KettleException
KettleExceptionObjectId getPartitionSchemaID(String name) throws KettleException
KettleExceptionvoid deletePartitionSchema(ObjectId id_partition_schema) throws KettleException
KettleExceptionRepositoryDirectoryInterface loadRepositoryDirectoryTree() throws KettleException
KettleExceptionRepositoryDirectoryInterface findDirectory(String directory) throws KettleException
KettleExceptionRepositoryDirectoryInterface findDirectory(ObjectId directory) throws KettleException
KettleExceptionvoid saveRepositoryDirectory(RepositoryDirectoryInterface dir) throws KettleException
KettleExceptionvoid deleteRepositoryDirectory(RepositoryDirectoryInterface dir) throws KettleException
KettleExceptionObjectId renameRepositoryDirectory(ObjectId id, RepositoryDirectoryInterface newParentDir, String newName) throws 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)KettleExceptionRepositoryDirectoryInterface createRepositoryDirectory(RepositoryDirectoryInterface parentDirectory, String directoryPath) throws KettleException
parentDirectory - the parent directorydirectoryPath - The path to the new Repository Directory, to be created.KettleException - In case something goes wrongString[] getTransformationNames(ObjectId id_directory, boolean includeDeleted) throws KettleException
KettleExceptionList<RepositoryElementMetaInterface> getJobObjects(ObjectId id_directory, boolean includeDeleted) throws KettleException
KettleExceptionList<RepositoryElementMetaInterface> getTransformationObjects(ObjectId id_directory, boolean includeDeleted) throws KettleException
KettleExceptionList<RepositoryElementMetaInterface> getJobAndTransformationObjects(ObjectId id_directory, boolean includeDeleted) throws KettleException
getJobObjects(ObjectId, boolean)
and getTransformationObjects(ObjectId, boolean) into one operation.id_directory - directoryincludeDeleted - true to return deleted objectsKettleException - In case something goes wrongString[] getJobNames(ObjectId id_directory, boolean includeDeleted) throws KettleException
KettleExceptionString[] getDirectoryNames(ObjectId id_directory) throws KettleException
id_directory - parent directory idKettleExceptionObjectId insertLogEntry(String description) throws KettleException
The - description to be put in the audit trail of the repository.KettleExceptionvoid insertStepDatabase(ObjectId id_transformation, ObjectId id_step, ObjectId id_database) throws KettleException
KettleExceptionvoid insertJobEntryDatabase(ObjectId id_job, ObjectId id_jobentry, ObjectId id_database) throws KettleException
KettleExceptionvoid saveConditionStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, Condition condition) throws KettleException
id_step - code - condition - KettleExceptionCondition loadConditionFromStepAttribute(ObjectId id_step, String code) throws KettleException
id_step - code - KettleExceptionboolean getStepAttributeBoolean(ObjectId id_step, int nr, String code, boolean def) throws KettleException
KettleExceptionboolean getStepAttributeBoolean(ObjectId id_step, int nr, String code) throws KettleException
KettleExceptionboolean getStepAttributeBoolean(ObjectId id_step, String code) throws KettleException
KettleExceptionlong getStepAttributeInteger(ObjectId id_step, int nr, String code) throws KettleException
KettleExceptionlong getStepAttributeInteger(ObjectId id_step, String code) throws KettleException
KettleExceptionString getStepAttributeString(ObjectId id_step, int nr, String code) throws KettleException
KettleExceptionString getStepAttributeString(ObjectId id_step, String code) throws KettleException
KettleExceptionvoid saveStepAttribute(ObjectId id_transformation, ObjectId id_step, int nr, String code, String value) throws KettleException
KettleExceptionvoid saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, String value) throws KettleException
KettleExceptionvoid saveStepAttribute(ObjectId id_transformation, ObjectId id_step, int nr, String code, boolean value) throws KettleException
KettleExceptionvoid saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, boolean value) throws KettleException
KettleExceptionvoid saveStepAttribute(ObjectId id_transformation, ObjectId id_step, int nr, String code, long value) throws KettleException
KettleExceptionvoid saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, long value) throws KettleException
KettleExceptionvoid saveStepAttribute(ObjectId id_transformation, ObjectId id_step, int nr, String code, double value) throws KettleException
KettleExceptionvoid saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, double value) throws KettleException
KettleExceptionint countNrStepAttributes(ObjectId id_step, String code) throws KettleException
KettleExceptionint countNrJobEntryAttributes(ObjectId id_jobentry, String code) throws KettleException
KettleExceptionboolean getJobEntryAttributeBoolean(ObjectId id_jobentry, String code) throws KettleException
KettleExceptionboolean getJobEntryAttributeBoolean(ObjectId id_jobentry, int nr, String code) throws KettleException
KettleExceptionboolean getJobEntryAttributeBoolean(ObjectId id_jobentry, String code, boolean def) throws KettleException
KettleExceptionlong getJobEntryAttributeInteger(ObjectId id_jobentry, String code) throws KettleException
KettleExceptionlong getJobEntryAttributeInteger(ObjectId id_jobentry, int nr, String code) throws KettleException
KettleExceptionString getJobEntryAttributeString(ObjectId id_jobentry, String code) throws KettleException
KettleExceptionString getJobEntryAttributeString(ObjectId id_jobentry, int nr, String code) throws KettleException
KettleExceptionvoid saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, int nr, String code, String value) throws KettleException
KettleExceptionvoid saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String code, String value) throws KettleException
KettleExceptionvoid saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, int nr, String code, boolean value) throws KettleException
KettleExceptionvoid saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String code, boolean value) throws KettleException
KettleExceptionvoid saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, int nr, String code, long value) throws KettleException
KettleExceptionvoid saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String code, long value) throws KettleException
KettleExceptionDatabaseMeta loadDatabaseMetaFromStepAttribute(ObjectId id_step, String code, List<DatabaseMeta> databases) throws KettleException
id_step - code - KettleExceptionvoid saveDatabaseMetaStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, DatabaseMeta database) throws KettleException
id_transformation - id_step - code - database - KettleExceptionDatabaseMeta loadDatabaseMetaFromJobEntryAttribute(ObjectId id_jobentry, String nameCode, String idCode, List<DatabaseMeta> databases) throws KettleException
id_step - code - KettleExceptionDatabaseMeta loadDatabaseMetaFromJobEntryAttribute(ObjectId id_jobentry, String nameCode, int nr, String idCode, List<DatabaseMeta> databases) throws KettleException
id_entry - nameCode - nr - idcode - databases - KettleExceptionvoid saveDatabaseMetaJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String nameCode, String idCode, DatabaseMeta database) throws KettleException
id_job - id_jobentry - idCode - database - KettleExceptionvoid saveDatabaseMetaJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, int nr, String nameCode, String idCode, DatabaseMeta database) throws KettleException
id_job - id_jobentry - nr - code - database - KettleExceptionvoid undeleteObject(RepositoryElementMetaInterface repositoryObject) throws KettleException
element - the repository element to restoreKettleException - get throws in case something goes horribly wrong.List<Class<? extends IRepositoryService>> getServiceInterfaces() throws KettleException
KettleException - in case something goes horribly wrong.IRepositoryService getService(Class<? extends IRepositoryService> clazz) throws KettleException
service - class nameKettleException - in case something goes horribly wrong.boolean hasService(Class<? extends IRepositoryService> clazz) throws KettleException
repository - service class that needs to be checked for supportKettleException - in case something goes horribly wrong.RepositoryObject getObjectInformation(ObjectId objectId, RepositoryObjectType objectType) throws KettleException
objectId - The ID of the object to get more information about.objectType - The type of object to investigate.KettleException - In case there was a loading problem.String getConnectMessage()
String[] getJobsUsingDatabase(ObjectId id_database) throws KettleException
KettleExceptionString[] getTransformationsUsingDatabase(ObjectId id_database) throws KettleException
KettleExceptionIRepositoryImporter getImporter()
IRepositoryExporter getExporter() throws KettleException
KettleExceptionorg.pentaho.metastore.api.IMetaStore getMetaStore()
org.pentaho.platform.api.repository2.unified.IUnifiedRepository getUnderlyingRepository()
Copyright © 2018 Hitachi Vantara. All rights reserved.