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, waitclearSharedObjectCache, 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, undeleteObjectpublic long getJobEntryAttributeInteger(ObjectId id_jobentry, String code) throws KettleException
getJobEntryAttributeInteger in interface RepositoryKettleExceptionpublic String getJobEntryAttributeString(ObjectId id_jobentry, String code) throws KettleException
getJobEntryAttributeString in interface RepositoryKettleExceptionpublic boolean getJobEntryAttributeBoolean(ObjectId id_jobentry, String code) throws KettleException
getJobEntryAttributeBoolean in interface RepositoryKettleExceptionpublic boolean getJobEntryAttributeBoolean(ObjectId id_jobentry, String code, boolean def) throws KettleException
getJobEntryAttributeBoolean in interface RepositoryKettleExceptionpublic boolean getJobEntryAttributeBoolean(ObjectId id_jobentry, int nr, String code) throws KettleException
getJobEntryAttributeBoolean in interface RepositoryKettleExceptionpublic abstract boolean getJobEntryAttributeBoolean(ObjectId id_jobentry, int nr, String code, boolean def) throws KettleException
KettleExceptionpublic boolean getStepAttributeBoolean(ObjectId id_step, String code) throws KettleException
getStepAttributeBoolean in interface RepositoryKettleExceptionpublic boolean getStepAttributeBoolean(ObjectId id_step, int nr, String code) throws KettleException
getStepAttributeBoolean in interface RepositoryKettleExceptionpublic long getStepAttributeInteger(ObjectId id_step, String code) throws KettleException
getStepAttributeInteger in interface RepositoryKettleExceptionpublic String getStepAttributeString(ObjectId id_step, String code) throws KettleException
getStepAttributeString in interface RepositoryKettleExceptionpublic void saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, boolean value) throws KettleException
saveStepAttribute in interface RepositoryKettleExceptionpublic void saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, double value) throws KettleException
saveStepAttribute in interface RepositoryKettleExceptionpublic void saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, long value) throws KettleException
saveStepAttribute in interface RepositoryKettleExceptionpublic void saveStepAttribute(ObjectId id_transformation, ObjectId id_step, String code, String value) throws KettleException
saveStepAttribute in interface RepositoryKettleExceptionpublic void saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String code, boolean value) throws KettleException
saveJobEntryAttribute in interface RepositoryKettleExceptionpublic void saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String code, long value) throws KettleException
saveJobEntryAttribute in interface RepositoryKettleExceptionpublic void saveJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String code, String value) throws KettleException
saveJobEntryAttribute in interface RepositoryKettleExceptionpublic DatabaseMeta loadDatabaseMetaFromJobEntryAttribute(ObjectId id_jobentry, String nameCode, String idCode, List<DatabaseMeta> databases) throws KettleException
RepositoryloadDatabaseMetaFromJobEntryAttribute in interface RepositoryKettleExceptionpublic void save(RepositoryElementInterface repoElement, String versionComment, ProgressMonitorListener monitor) throws KettleException
save in interface RepositoryKettleExceptionpublic void saveDatabaseMetaJobEntryAttribute(ObjectId id_job, ObjectId id_jobentry, String nameCode, String idCode, DatabaseMeta database) throws KettleException
RepositorysaveDatabaseMetaJobEntryAttribute in interface RepositoryKettleExceptionpublic boolean test()
public void create()
public org.pentaho.platform.api.repository2.unified.IUnifiedRepository getUnderlyingRepository()
getUnderlyingRepository in interface RepositoryCopyright © 2018 Hitachi Vantara. All rights reserved.