public class KettleDatabaseRepositoryJobEntryDelegate extends KettleDatabaseRepositoryBaseDelegate
| Modifier and Type | Field and Description |
|---|---|
static String |
JOBENTRY_ATTRIBUTE_PREFIX |
log, repository| Constructor and Description |
|---|
KettleDatabaseRepositoryJobEntryDelegate(KettleDatabaseRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
RowMetaAndData |
getJobEntry(ObjectId id_jobentry) |
RowMetaAndData |
getJobEntryCopy(ObjectId id_jobentry_copy) |
ObjectId |
getJobEntryID(String name,
ObjectId id_job) |
RowMetaAndData |
getJobEntryType(ObjectId id_jobentry_type) |
ObjectId |
getJobEntryTypeID(String code) |
int |
getNrJobEntries(ObjectId id_job) |
ObjectId |
insertJobEntry(ObjectId id_job,
JobEntryBase jobEntryBase) |
ObjectId |
insertJobEntryCopy(ObjectId id_job,
ObjectId id_jobentry,
ObjectId id_jobentry_type,
int nr,
long gui_location_x,
long gui_location_y,
boolean gui_draw,
boolean parallel) |
void |
loadJobEntryBase(JobEntryBase jobEntryBase,
ObjectId id_jobentry,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers) |
JobEntryCopy |
loadJobEntryCopy(ObjectId jobId,
ObjectId jobEntryCopyId,
List<JobEntryInterface> jobentries,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers,
String jobname)
Load the chef graphical entry from repository We load type, name & description if no entry can be found.
|
void |
saveJobEntryCopy(JobEntryCopy copy,
ObjectId id_job,
KettleDatabaseRepositoryMetaStore metaStore) |
quote, quoteTablepublic static final String JOBENTRY_ATTRIBUTE_PREFIX
public KettleDatabaseRepositoryJobEntryDelegate(KettleDatabaseRepository repository)
public RowMetaAndData getJobEntry(ObjectId id_jobentry) throws KettleException
KettleExceptionpublic RowMetaAndData getJobEntryCopy(ObjectId id_jobentry_copy) throws KettleException
KettleExceptionpublic RowMetaAndData getJobEntryType(ObjectId id_jobentry_type) throws KettleException
KettleExceptionpublic ObjectId getJobEntryID(String name, ObjectId id_job) throws KettleException
KettleExceptionpublic ObjectId getJobEntryTypeID(String code) throws KettleException
KettleExceptionpublic JobEntryCopy loadJobEntryCopy(ObjectId jobId, ObjectId jobEntryCopyId, List<JobEntryInterface> jobentries, List<DatabaseMeta> databases, List<SlaveServer> slaveServers, String jobname) throws KettleException
log - the logging channelrep - the RepositoryjobId - The job IDjobEntryCopyId - The jobentry copy IDjobentries - A list with all jobentriesdatabases - A list with all defined databasesKettleExceptionpublic void saveJobEntryCopy(JobEntryCopy copy, ObjectId id_job, KettleDatabaseRepositoryMetaStore metaStore) throws KettleException
KettleExceptionpublic ObjectId insertJobEntry(ObjectId id_job, JobEntryBase jobEntryBase) throws KettleException
KettleExceptionpublic ObjectId insertJobEntryCopy(ObjectId id_job, ObjectId id_jobentry, ObjectId id_jobentry_type, int nr, long gui_location_x, long gui_location_y, boolean gui_draw, boolean parallel) throws KettleException
KettleExceptionpublic int getNrJobEntries(ObjectId id_job) throws KettleException
KettleExceptionpublic void loadJobEntryBase(JobEntryBase jobEntryBase, ObjectId id_jobentry, List<DatabaseMeta> databases, List<SlaveServer> slaveServers) throws KettleException
KettleExceptionCopyright © 2018 Hitachi Vantara. All rights reserved.