public abstract class AbstractRepository extends Object implements Repository
Constructor and Description |
---|
AbstractRepository() |
Modifier and Type | Method and Description |
---|---|
void |
create() |
boolean |
getJobEntryAttributeBoolean(ObjectId id_jobentry,
int nr,
String code) |
abstract boolean |
getJobEntryAttributeBoolean(ObjectId id_jobentry,
int nr,
String code,
boolean def) |
boolean |
getJobEntryAttributeBoolean(ObjectId id_jobentry,
String code) |
boolean |
getJobEntryAttributeBoolean(ObjectId id_jobentry,
String code,
boolean def) |
long |
getJobEntryAttributeInteger(ObjectId id_jobentry,
String code) |
String |
getJobEntryAttributeString(ObjectId id_jobentry,
String code) |
boolean |
getStepAttributeBoolean(ObjectId id_step,
int nr,
String code) |
boolean |
getStepAttributeBoolean(ObjectId id_step,
String code) |
long |
getStepAttributeInteger(ObjectId id_step,
String code) |
String |
getStepAttributeString(ObjectId id_step,
String code) |
org.pentaho.platform.api.repository2.unified.IUnifiedRepository |
getUnderlyingRepository() |
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.
|
void |
save(RepositoryElementInterface repoElement,
String versionComment,
ProgressMonitorListener monitor) |
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 |
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 |
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) |
boolean |
test() |
clone, equals, finalize, 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, renameJob, renameRepositoryDirectory, renameTransformation, renameTransformation, save, save, saveConditionStepAttribute, saveDatabaseMetaJobEntryAttribute, saveDatabaseMetaStepAttribute, saveJobEntryAttribute, saveJobEntryAttribute, saveJobEntryAttribute, saveRepositoryDirectory, saveStepAttribute, saveStepAttribute, saveStepAttribute, saveStepAttribute, undeleteObject
public long getJobEntryAttributeInteger(ObjectId id_jobentry, String code) throws KettleException
getJobEntryAttributeInteger
in interface Repository
KettleException
public String getJobEntryAttributeString(ObjectId id_jobentry, String code) throws KettleException
getJobEntryAttributeString
in interface Repository
KettleException
public boolean getJobEntryAttributeBoolean(ObjectId id_jobentry, String code) throws KettleException
getJobEntryAttributeBoolean
in interface Repository
KettleException
public boolean getJobEntryAttributeBoolean(ObjectId id_jobentry, String code, boolean def) throws KettleException
getJobEntryAttributeBoolean
in interface Repository
KettleException
public boolean getJobEntryAttributeBoolean(ObjectId id_jobentry, int nr, String code) throws KettleException
getJobEntryAttributeBoolean
in interface Repository
KettleException
public abstract boolean getJobEntryAttributeBoolean(ObjectId id_jobentry, int nr, String code, boolean def) throws KettleException
KettleException
public boolean getStepAttributeBoolean(ObjectId id_step, String code) throws KettleException
getStepAttributeBoolean
in interface Repository
KettleException
public boolean getStepAttributeBoolean(ObjectId id_step, int nr, String code) throws KettleException
getStepAttributeBoolean
in interface Repository
KettleException
public long getStepAttributeInteger(ObjectId id_step, String code) throws KettleException
getStepAttributeInteger
in interface Repository
KettleException
public String getStepAttributeString(ObjectId id_step, String code) throws KettleException
getStepAttributeString
in interface Repository
KettleException
public void saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, boolean value) throws KettleException
saveStepAttribute
in interface Repository
KettleException
public void saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, double value) throws KettleException
saveStepAttribute
in interface Repository
KettleException
public void saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, long value) throws KettleException
saveStepAttribute
in interface Repository
KettleException
public void saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, String value) throws KettleException
saveStepAttribute
in interface Repository
KettleException
public void saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String code, boolean value) throws KettleException
saveJobEntryAttribute
in interface Repository
KettleException
public void saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String code, long value) throws KettleException
saveJobEntryAttribute
in interface Repository
KettleException
public void saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String code, String value) throws KettleException
saveJobEntryAttribute
in interface Repository
KettleException
public DatabaseMeta loadDatabaseMetaFromJobEntryAttribute(ObjectId id_jobentry, String nameCode, String idCode, List<DatabaseMeta> databases) throws KettleException
Repository
loadDatabaseMetaFromJobEntryAttribute
in interface Repository
KettleException
public void save(RepositoryElementInterface repoElement, String versionComment, ProgressMonitorListener monitor) throws KettleException
save
in interface Repository
KettleException
public void saveDatabaseMetaJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String nameCode, String idCode, DatabaseMeta database) throws KettleException
Repository
saveDatabaseMetaJobEntryAttribute
in interface Repository
KettleException
public boolean test()
public void create()
public org.pentaho.platform.api.repository2.unified.IUnifiedRepository getUnderlyingRepository()
getUnderlyingRepository
in interface Repository
Copyright © 2018 Hitachi Vantara. All rights reserved.