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, quoteTable
public static final String JOBENTRY_ATTRIBUTE_PREFIX
public KettleDatabaseRepositoryJobEntryDelegate(KettleDatabaseRepository repository)
public RowMetaAndData getJobEntry(ObjectId id_jobentry) throws KettleException
KettleException
public RowMetaAndData getJobEntryCopy(ObjectId id_jobentry_copy) throws KettleException
KettleException
public RowMetaAndData getJobEntryType(ObjectId id_jobentry_type) throws KettleException
KettleException
public ObjectId getJobEntryID(String name, ObjectId id_job) throws KettleException
KettleException
public ObjectId getJobEntryTypeID(String code) throws KettleException
KettleException
public 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 databasesKettleException
public void saveJobEntryCopy(JobEntryCopy copy, ObjectId id_job, KettleDatabaseRepositoryMetaStore metaStore) throws KettleException
KettleException
public ObjectId insertJobEntry(ObjectId id_job, JobEntryBase jobEntryBase) throws KettleException
KettleException
public 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
KettleException
public int getNrJobEntries(ObjectId id_job) throws KettleException
KettleException
public void loadJobEntryBase(JobEntryBase jobEntryBase, ObjectId id_jobentry, List<DatabaseMeta> databases, List<SlaveServer> slaveServers) throws KettleException
KettleException
Copyright © 2018 Hitachi Vantara. All rights reserved.