public abstract class AbstractRepository extends Object implements Repository
Constructor and Description |
---|
AbstractRepository() |
Modifier and Type | Method and Description |
---|---|
boolean |
getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code) |
abstract boolean |
getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code,
boolean def) |
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,
String code) |
String |
getJobEntryAttributeString(org.pentaho.di.repository.ObjectId id_jobentry,
String code) |
boolean |
getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step,
int nr,
String code) |
boolean |
getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step,
String code) |
long |
getStepAttributeInteger(org.pentaho.di.repository.ObjectId id_step,
String code) |
String |
getStepAttributeString(org.pentaho.di.repository.ObjectId id_step,
String 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.
|
void |
save(org.pentaho.di.repository.RepositoryElementInterface repositoryElement,
String versionComment,
org.pentaho.di.core.ProgressMonitorListener monitor) |
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 |
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 |
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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearSharedObjectCache, connect, countNrJobEntryAttributes, countNrStepAttributes, createRepositoryDirectory, deleteClusterSchema, deleteDatabaseMeta, deleteJob, deletePartitionSchema, deleteRepositoryDirectory, deleteSlave, deleteTransformation, disconnect, exists, findDirectory, findDirectory, getClusterID, getClusterIDs, getClusterNames, getConnectMessage, getDatabaseID, getDatabaseIDs, getDatabaseNames, getDefaultSaveDirectory, getDirectoryNames, getExporter, getImporter, getJobAndTransformationObjects, getJobEntryAttributeInteger, getJobEntryAttributeString, getJobId, getJobNames, getJobObjects, getJobsUsingDatabase, getLog, getMetaStore, getName, getObjectInformation, getPartitionSchemaID, getPartitionSchemaIDs, getPartitionSchemaNames, getRepositoryMeta, getSecurityManager, getSecurityProvider, getService, getServiceInterfaces, getSlaveID, getSlaveIDs, getSlaveNames, getSlaveServers, getStepAttributeBoolean, getStepAttributeInteger, getStepAttributeString, getTransformationID, getTransformationNames, getTransformationObjects, getTransformationsUsingDatabase, getUserHomeDirectory, getUserInfo, getVersion, hasService, init, insertJobEntryDatabase, insertLogEntry, insertStepDatabase, isConnected, loadClusterSchema, loadConditionFromStepAttribute, loadDatabaseMeta, loadDatabaseMetaFromJobEntryAttribute, loadDatabaseMetaFromStepAttribute, loadJob, loadJob, loadPartitionSchema, loadRepositoryDirectoryTree, loadSlaveServer, loadTransformation, loadTransformation, readDatabases, readJobMetaSharedObjects, readTransSharedObjects, renameJob, renameRepositoryDirectory, renameTransformation, save, save, saveConditionStepAttribute, saveDatabaseMetaJobEntryAttribute, saveDatabaseMetaStepAttribute, saveJobEntryAttribute, saveJobEntryAttribute, saveJobEntryAttribute, saveRepositoryDirectory, saveStepAttribute, saveStepAttribute, saveStepAttribute, saveStepAttribute, undeleteObject
public long getJobEntryAttributeInteger(org.pentaho.di.repository.ObjectId id_jobentry, String code) throws org.pentaho.di.core.exception.KettleException
getJobEntryAttributeInteger
in interface Repository
org.pentaho.di.core.exception.KettleException
public String getJobEntryAttributeString(org.pentaho.di.repository.ObjectId id_jobentry, String code) throws org.pentaho.di.core.exception.KettleException
getJobEntryAttributeString
in interface Repository
org.pentaho.di.core.exception.KettleException
public boolean getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry, String code) throws org.pentaho.di.core.exception.KettleException
getJobEntryAttributeBoolean
in interface Repository
org.pentaho.di.core.exception.KettleException
public boolean getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry, String code, boolean def) throws org.pentaho.di.core.exception.KettleException
getJobEntryAttributeBoolean
in interface Repository
org.pentaho.di.core.exception.KettleException
public boolean getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code) throws org.pentaho.di.core.exception.KettleException
getJobEntryAttributeBoolean
in interface Repository
org.pentaho.di.core.exception.KettleException
public abstract boolean getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code, boolean def) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public boolean getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step, String code) throws org.pentaho.di.core.exception.KettleException
getStepAttributeBoolean
in interface Repository
org.pentaho.di.core.exception.KettleException
public boolean getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step, int nr, String code) throws org.pentaho.di.core.exception.KettleException
getStepAttributeBoolean
in interface Repository
org.pentaho.di.core.exception.KettleException
public long getStepAttributeInteger(org.pentaho.di.repository.ObjectId id_step, String code) throws org.pentaho.di.core.exception.KettleException
getStepAttributeInteger
in interface Repository
org.pentaho.di.core.exception.KettleException
public String getStepAttributeString(org.pentaho.di.repository.ObjectId id_step, String code) throws org.pentaho.di.core.exception.KettleException
getStepAttributeString
in interface Repository
org.pentaho.di.core.exception.KettleException
public 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
saveStepAttribute
in interface Repository
org.pentaho.di.core.exception.KettleException
public 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
saveStepAttribute
in interface Repository
org.pentaho.di.core.exception.KettleException
public 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
saveStepAttribute
in interface Repository
org.pentaho.di.core.exception.KettleException
public 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
saveStepAttribute
in interface Repository
org.pentaho.di.core.exception.KettleException
public 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
saveJobEntryAttribute
in interface Repository
org.pentaho.di.core.exception.KettleException
public 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
saveJobEntryAttribute
in interface Repository
org.pentaho.di.core.exception.KettleException
public 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
saveJobEntryAttribute
in interface Repository
org.pentaho.di.core.exception.KettleException
public 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
Repository
loadDatabaseMetaFromJobEntryAttribute
in interface Repository
org.pentaho.di.core.exception.KettleException
public void save(org.pentaho.di.repository.RepositoryElementInterface repositoryElement, String versionComment, org.pentaho.di.core.ProgressMonitorListener monitor) throws org.pentaho.di.core.exception.KettleException
save
in interface Repository
org.pentaho.di.core.exception.KettleException
public 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
Repository
saveDatabaseMetaJobEntryAttribute
in interface Repository
org.pentaho.di.core.exception.KettleException