public class KettleDatabaseRepositoryConnectionDelegate extends KettleDatabaseRepositoryBaseDelegate
Modifier and Type | Field and Description |
---|---|
static org.pentaho.di.core.logging.LoggingObjectInterface |
loggingObject |
static int |
REQUIRED_MAJOR_VERSION |
static int |
REQUIRED_MINOR_VERSION |
Constructor and Description |
---|
KettleDatabaseRepositoryConnectionDelegate(KettleDatabaseRepository repository,
org.pentaho.di.core.database.DatabaseMeta databaseMeta) |
Modifier and Type | Method and Description |
---|---|
void |
clearNextIDCounters() |
void |
closeAttributeLookupPreparedStatements() |
void |
closeJobAttributeInsertPreparedStatement() |
void |
closeJobAttributeLookupPreparedStatement() |
void |
closeLookupJobEntryAttribute() |
void |
closeReadTransaction()
A MySQL InnoDB hack really...
|
void |
closeStepAttributeInsertPreparedStatement() |
void |
closeStepAttributeLookupPreparedStatement() |
void |
closeTransAttributeInsertPreparedStatement() |
void |
closeTransAttributeLookupPreparedStatement() |
void |
commit() |
void |
connect()
Connect to the repository
|
void |
connect(boolean no_lookup) |
void |
connect(boolean no_lookup,
boolean ignoreVersion) |
static org.pentaho.di.repository.ObjectId[] |
convertLongList(List<Long> list) |
int |
countNrJobAttributes(org.pentaho.di.repository.ObjectId id_job,
String code) |
int |
countNrJobEntryAttributes(org.pentaho.di.repository.ObjectId id_jobentry,
String code) |
int |
countNrStepAttributes(org.pentaho.di.repository.ObjectId id_step,
String code) |
int |
countNrTransAttributes(org.pentaho.di.repository.ObjectId id_transformation,
String code) |
void |
disconnect() |
void |
fillStepAttributesBuffer(org.pentaho.di.repository.ObjectId id_transformation) |
org.pentaho.di.repository.ObjectId |
findStepAttributeID(org.pentaho.di.repository.ObjectId id_step,
int nr,
String code) |
org.pentaho.di.core.database.Database |
getDatabase() |
Collection<org.pentaho.di.core.RowMetaAndData> |
getDatabaseAttributes(org.pentaho.di.repository.ObjectId id_database) |
org.pentaho.di.core.database.DatabaseMeta |
getDatabaseMeta() |
org.pentaho.di.repository.ObjectId[] |
getIDs(String sql,
org.pentaho.di.repository.ObjectId... objectId) |
org.pentaho.di.repository.LongObjectId[] |
getIDsWithValues(String tablename,
String idfield,
String lookupfield,
String[] values) |
org.pentaho.di.repository.ObjectId |
getIDWithValue(String tablename,
String idfield,
String[] lookupkey,
org.pentaho.di.repository.ObjectId[] key) |
org.pentaho.di.repository.LongObjectId |
getIDWithValue(String tablename,
String idfield,
String lookupfield,
String value) |
org.pentaho.di.repository.LongObjectId |
getIDWithValue(String tablename,
String idfield,
String lookupfield,
String value,
String[] lookupkey,
org.pentaho.di.repository.ObjectId[] key) |
org.pentaho.di.repository.ObjectId |
getIDWithValue(String tablename,
String idfield,
String lookupfield,
String value,
String lookupkey,
org.pentaho.di.repository.ObjectId key) |
boolean |
getJobAttributeBoolean(org.pentaho.di.repository.ObjectId id_job,
int nr,
String code) |
long |
getJobAttributeInteger(org.pentaho.di.repository.ObjectId id_job,
int nr,
String code) |
double |
getJobAttributeNumber(org.pentaho.di.repository.ObjectId id_job,
int nr,
String code) |
org.pentaho.di.core.RowMetaAndData |
getJobAttributeRow(org.pentaho.di.repository.ObjectId id_job,
int nr,
String code) |
List<Object[]> |
getJobAttributes(org.pentaho.di.repository.ObjectId id_job,
String code,
long nr) |
String |
getJobAttributeString(org.pentaho.di.repository.ObjectId id_job,
int nr,
String code) |
List<Object[]> |
getJobAttributesWithPrefix(org.pentaho.di.repository.ObjectId jobId,
String codePrefix) |
boolean |
getJobEntryAttributeBoolean(org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code,
boolean def) |
long |
getJobEntryAttributeInteger(org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code) |
double |
getJobEntryAttributeNumber(org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code) |
String |
getJobEntryAttributeString(org.pentaho.di.repository.ObjectId id_jobentry,
int nr,
String code) |
List<Object[]> |
getJobEntryAttributesWithPrefix(org.pentaho.di.repository.ObjectId jobId,
org.pentaho.di.repository.ObjectId jobEntryId,
String codePrefix) |
int |
getMajorVersion() |
int |
getMinorVersion() |
org.pentaho.di.repository.ObjectId |
getNextClusterID() |
org.pentaho.di.repository.ObjectId |
getNextClusterSlaveID() |
org.pentaho.di.repository.ObjectId |
getNextConditionID() |
org.pentaho.di.repository.LongObjectId |
getNextDatabaseAttributeID() |
org.pentaho.di.repository.ObjectId |
getNextDatabaseConnectionTypeID() |
org.pentaho.di.repository.ObjectId |
getNextDatabaseID() |
org.pentaho.di.repository.ObjectId |
getNextDatabaseTypeID() |
org.pentaho.di.repository.ObjectId |
getNextDepencencyID() |
org.pentaho.di.repository.ObjectId |
getNextDirectoryID() |
org.pentaho.di.repository.LongObjectId |
getNextID(String tableName,
String fieldName) |
org.pentaho.di.repository.LongObjectId |
getNextJobAttributeID() |
org.pentaho.di.repository.LongObjectId |
getNextJobEntryAttributeID() |
org.pentaho.di.repository.LongObjectId |
getNextJobEntryCopyID() |
org.pentaho.di.repository.ObjectId |
getNextJobEntryID() |
org.pentaho.di.repository.ObjectId |
getNextJobEntryTypeID() |
org.pentaho.di.repository.ObjectId |
getNextJobHopID() |
org.pentaho.di.repository.ObjectId |
getNextJobID() |
org.pentaho.di.repository.ObjectId |
getNextLogID() |
org.pentaho.di.repository.ObjectId |
getNextLoglevelID() |
org.pentaho.di.repository.ObjectId |
getNextNoteID() |
org.pentaho.di.repository.ObjectId |
getNextPartitionID() |
org.pentaho.di.repository.ObjectId |
getNextPartitionSchemaID() |
org.pentaho.di.repository.ObjectId |
getNextSlaveServerID() |
org.pentaho.di.repository.LongObjectId |
getNextStepAttributeID() |
org.pentaho.di.repository.ObjectId |
getNextStepID() |
org.pentaho.di.repository.ObjectId |
getNextStepTypeID() |
org.pentaho.di.repository.LongObjectId |
getNextTransAttributeID() |
org.pentaho.di.repository.ObjectId |
getNextTransformationClusterID() |
org.pentaho.di.repository.ObjectId |
getNextTransformationID() |
org.pentaho.di.repository.ObjectId |
getNextTransformationPartitionSchemaID() |
org.pentaho.di.repository.ObjectId |
getNextTransformationSlaveID() |
org.pentaho.di.repository.ObjectId |
getNextTransHopID() |
org.pentaho.di.repository.ObjectId |
getNextUserID() |
org.pentaho.di.repository.ObjectId |
getNextValueID() |
org.pentaho.di.core.RowMetaAndData |
getOneRow(String sql) |
org.pentaho.di.core.RowMetaAndData |
getOneRow(String sql,
org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] rowData) |
org.pentaho.di.core.RowMetaAndData |
getOneRow(String schemaAndTable,
String keyfield,
org.pentaho.di.repository.ObjectId id)
This method should be called WITH AN ALREADY QUOTED schema and table
|
org.pentaho.di.core.RowMetaAndData |
getParameterMetaData(org.pentaho.di.repository.ObjectId... ids) |
List<org.pentaho.di.repository.RepositoryElementMetaInterface> |
getRepositoryObjects(String tableName,
org.pentaho.di.repository.RepositoryObjectType objectType,
org.pentaho.di.repository.ObjectId id_directory) |
static String |
getRequiredVersion()
Get the required repository version for this version of Kettle.
|
org.pentaho.di.core.row.RowMetaInterface |
getReturnRowMeta() |
List<Object[]> |
getRows(String sql,
int limit) |
boolean |
getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step,
int nr,
String code,
boolean def) |
long |
getStepAttributeInteger(org.pentaho.di.repository.ObjectId id_step,
int nr,
String code) |
List<Object[]> |
getStepAttributesBuffer() |
org.pentaho.di.core.row.RowMetaInterface |
getStepAttributesRowMeta() |
String |
getStepAttributeString(org.pentaho.di.repository.ObjectId id_step,
int nr,
String code) |
String[] |
getStrings(String sql,
org.pentaho.di.repository.ObjectId... objectId) |
String |
getStringWithID(String tablename,
String keyfield,
org.pentaho.di.repository.ObjectId id,
String fieldname) |
boolean |
getTransAttributeBoolean(org.pentaho.di.repository.ObjectId id_transformation,
int nr,
String code) |
long |
getTransAttributeInteger(org.pentaho.di.repository.ObjectId id_transformation,
int nr,
String code) |
double |
getTransAttributeNumber(org.pentaho.di.repository.ObjectId id_transformation,
int nr,
String code) |
org.pentaho.di.core.RowMetaAndData |
getTransAttributeRow(org.pentaho.di.repository.ObjectId id_transformation,
int nr,
String code) |
List<Object[]> |
getTransAttributes(org.pentaho.di.repository.ObjectId id_transformation,
String code,
long nr) |
String |
getTransAttributeString(org.pentaho.di.repository.ObjectId id_transformation,
int nr,
String code) |
List<Object[]> |
getTransAttributesWithPrefix(org.pentaho.di.repository.ObjectId id_transformation,
String codePrefix) |
Map<String,org.pentaho.di.repository.LongObjectId> |
getValueToIdMap(String tablename,
String idfield,
String lookupfield) |
String |
getVersion()
Get the repository version.
|
org.pentaho.di.repository.ObjectId |
insertJobAttribute(org.pentaho.di.repository.ObjectId id_job,
long nr,
String code,
long value_num,
String value_str) |
org.pentaho.di.repository.ObjectId |
insertJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
long nr,
String code,
double value_num,
String value_str) |
org.pentaho.di.repository.ObjectId |
insertStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
long nr,
String code,
double value_num,
String value_str) |
void |
insertTableRow(String tablename,
org.pentaho.di.core.RowMetaAndData values) |
org.pentaho.di.repository.ObjectId |
insertTransAttribute(org.pentaho.di.repository.ObjectId id_transformation,
long nr,
String code,
long value_num,
String value_str) |
boolean |
isUseBatchProcessing() |
void |
lockRepository() |
void |
performDelete(String sql,
org.pentaho.di.repository.ObjectId... ids) |
void |
rollback() |
org.pentaho.di.repository.ObjectId |
saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
long nr,
String code,
boolean value) |
org.pentaho.di.repository.ObjectId |
saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
long nr,
String code,
double value) |
org.pentaho.di.repository.ObjectId |
saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job,
org.pentaho.di.repository.ObjectId id_jobentry,
long nr,
String code,
String value) |
org.pentaho.di.repository.ObjectId |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
long nr,
String code,
boolean value) |
org.pentaho.di.repository.ObjectId |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
long nr,
String code,
double value) |
org.pentaho.di.repository.ObjectId |
saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step,
long nr,
String code,
String value) |
void |
setAutoCommit(boolean autocommit) |
void |
setDatabase(org.pentaho.di.core.database.Database database) |
void |
setDatabaseMeta(org.pentaho.di.core.database.DatabaseMeta databaseMeta) |
void |
setLookupJobAttribute() |
void |
setLookupJobEntryAttribute() |
void |
setLookupStepAttribute() |
void |
setLookupTransAttribute() |
void |
setMajorVersion(int majorVersion) |
void |
setMinorVersion(int minorVersion) |
void |
setStepAttributesBuffer(List<Object[]> stepAttributesBuffer) |
void |
setStepAttributesRowMeta(org.pentaho.di.core.row.RowMetaInterface stepAttributesRowMeta) |
void |
unlockRepository() |
void |
updateTableRow(String tablename,
String idfield,
org.pentaho.di.core.RowMetaAndData values) |
void |
updateTableRow(String tablename,
String idfield,
org.pentaho.di.core.RowMetaAndData values,
org.pentaho.di.repository.ObjectId id) |
quote, quoteTable
public static final org.pentaho.di.core.logging.LoggingObjectInterface loggingObject
public static final int REQUIRED_MAJOR_VERSION
public static final int REQUIRED_MINOR_VERSION
public KettleDatabaseRepositoryConnectionDelegate(KettleDatabaseRepository repository, org.pentaho.di.core.database.DatabaseMeta databaseMeta)
public void connect() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void connect(boolean no_lookup) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void connect(boolean no_lookup, boolean ignoreVersion) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public static final String getRequiredVersion()
public void disconnect()
public void setAutoCommit(boolean autocommit)
public void commit() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void rollback()
public org.pentaho.di.core.database.Database getDatabase()
public void setDatabase(org.pentaho.di.core.database.Database database)
database
- the database to setpublic org.pentaho.di.core.database.DatabaseMeta getDatabaseMeta()
public void setDatabaseMeta(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
databaseMeta
- the databaseMeta to setpublic int getMajorVersion()
public void setMajorVersion(int majorVersion)
majorVersion
- the majorVersion to setpublic int getMinorVersion()
public void setMinorVersion(int minorVersion)
minorVersion
- the minorVersion to setpublic String getVersion()
public void fillStepAttributesBuffer(org.pentaho.di.repository.ObjectId id_transformation) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public List<Object[]> getStepAttributesBuffer()
public void setStepAttributesBuffer(List<Object[]> stepAttributesBuffer)
stepAttributesBuffer
- The stepAttributesBuffer to set.public void setLookupStepAttribute() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void setLookupTransAttribute() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void closeTransAttributeLookupPreparedStatement() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void setLookupJobAttribute() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void closeJobAttributeLookupPreparedStatement() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void closeStepAttributeLookupPreparedStatement() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void closeStepAttributeInsertPreparedStatement() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void closeTransAttributeInsertPreparedStatement() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void closeJobAttributeInsertPreparedStatement() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.core.RowMetaAndData getTransAttributeRow(org.pentaho.di.repository.ObjectId id_transformation, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.core.RowMetaAndData getJobAttributeRow(org.pentaho.di.repository.ObjectId id_job, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public long getStepAttributeInteger(org.pentaho.di.repository.ObjectId id_step, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId findStepAttributeID(org.pentaho.di.repository.ObjectId id_step, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public String getStepAttributeString(org.pentaho.di.repository.ObjectId id_step, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public boolean getStepAttributeBoolean(org.pentaho.di.repository.ObjectId id_step, int nr, String code, boolean def) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, long nr, String code, String value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, long nr, String code, double value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId saveStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, long nr, String code, boolean value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public int countNrStepAttributes(org.pentaho.di.repository.ObjectId id_step, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public String getTransAttributeString(org.pentaho.di.repository.ObjectId id_transformation, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public boolean getTransAttributeBoolean(org.pentaho.di.repository.ObjectId id_transformation, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public double getTransAttributeNumber(org.pentaho.di.repository.ObjectId id_transformation, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public long getTransAttributeInteger(org.pentaho.di.repository.ObjectId id_transformation, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public int countNrTransAttributes(org.pentaho.di.repository.ObjectId id_transformation, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public List<Object[]> getTransAttributes(org.pentaho.di.repository.ObjectId id_transformation, String code, long nr) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public List<Object[]> getTransAttributesWithPrefix(org.pentaho.di.repository.ObjectId id_transformation, String codePrefix) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public String getJobAttributeString(org.pentaho.di.repository.ObjectId id_job, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public boolean getJobAttributeBoolean(org.pentaho.di.repository.ObjectId id_job, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public double getJobAttributeNumber(org.pentaho.di.repository.ObjectId id_job, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public long getJobAttributeInteger(org.pentaho.di.repository.ObjectId id_job, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public int countNrJobAttributes(org.pentaho.di.repository.ObjectId id_job, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public List<Object[]> getJobAttributes(org.pentaho.di.repository.ObjectId id_job, String code, long nr) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public List<Object[]> getJobAttributesWithPrefix(org.pentaho.di.repository.ObjectId jobId, String codePrefix) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, long nr, String code, String value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, long nr, String code, double value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId saveJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, long nr, String code, boolean value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId insertJobEntryAttribute(org.pentaho.di.repository.ObjectId id_job, org.pentaho.di.repository.ObjectId id_jobentry, long nr, String code, double value_num, String value_str) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.LongObjectId getNextJobEntryAttributeID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.LongObjectId getNextID(String tableName, String fieldName) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void setLookupJobEntryAttribute() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void closeLookupJobEntryAttribute() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public long getJobEntryAttributeInteger(org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public double getJobEntryAttributeNumber(org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public String getJobEntryAttributeString(org.pentaho.di.repository.ObjectId id_jobentry, int nr, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public 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 int countNrJobEntryAttributes(org.pentaho.di.repository.ObjectId id_jobentry, String code) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public List<Object[]> getJobEntryAttributesWithPrefix(org.pentaho.di.repository.ObjectId jobId, org.pentaho.di.repository.ObjectId jobEntryId, String codePrefix) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextTransformationID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextJobID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextNoteID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextLogID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextDatabaseID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextDatabaseTypeID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextDatabaseConnectionTypeID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextLoglevelID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextStepTypeID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextStepID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextJobEntryID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextJobEntryTypeID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.LongObjectId getNextJobEntryCopyID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.LongObjectId getNextStepAttributeID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.LongObjectId getNextTransAttributeID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.LongObjectId getNextJobAttributeID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.LongObjectId getNextDatabaseAttributeID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextTransHopID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextJobHopID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextDepencencyID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextPartitionSchemaID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextPartitionID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextTransformationPartitionSchemaID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextClusterID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextSlaveServerID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextClusterSlaveID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextTransformationSlaveID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextTransformationClusterID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextConditionID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextValueID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getNextUserID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void clearNextIDCounters()
public org.pentaho.di.repository.ObjectId getNextDirectoryID() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId insertStepAttribute(org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, long nr, String code, double value_num, String value_str) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId insertTransAttribute(org.pentaho.di.repository.ObjectId id_transformation, long nr, String code, long value_num, String value_str) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId insertJobAttribute(org.pentaho.di.repository.ObjectId id_job, long nr, String code, long value_num, String value_str) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void updateTableRow(String tablename, String idfield, org.pentaho.di.core.RowMetaAndData values, org.pentaho.di.repository.ObjectId id) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void updateTableRow(String tablename, String idfield, org.pentaho.di.core.RowMetaAndData values) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public List<org.pentaho.di.repository.RepositoryElementMetaInterface> getRepositoryObjects(String tableName, org.pentaho.di.repository.RepositoryObjectType objectType, org.pentaho.di.repository.ObjectId id_directory) throws org.pentaho.di.core.exception.KettleException
id_directory
- org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId[] getIDs(String sql, org.pentaho.di.repository.ObjectId... objectId) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public String[] getStrings(String sql, org.pentaho.di.repository.ObjectId... objectId) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public static final org.pentaho.di.repository.ObjectId[] convertLongList(List<Long> list)
public void lockRepository() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void unlockRepository() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.core.row.RowMetaInterface getStepAttributesRowMeta()
public boolean isUseBatchProcessing()
public void setStepAttributesRowMeta(org.pentaho.di.core.row.RowMetaInterface stepAttributesRowMeta)
stepAttributesRowMeta
- the stepAttributesRowMeta to setpublic org.pentaho.di.repository.LongObjectId getIDWithValue(String tablename, String idfield, String lookupfield, String value) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public Map<String,org.pentaho.di.repository.LongObjectId> getValueToIdMap(String tablename, String idfield, String lookupfield) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.LongObjectId[] getIDsWithValues(String tablename, String idfield, String lookupfield, String[] values) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getIDWithValue(String tablename, String idfield, String lookupfield, String value, String lookupkey, org.pentaho.di.repository.ObjectId key) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.ObjectId getIDWithValue(String tablename, String idfield, String[] lookupkey, org.pentaho.di.repository.ObjectId[] key) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.repository.LongObjectId getIDWithValue(String tablename, String idfield, String lookupfield, String value, String[] lookupkey, org.pentaho.di.repository.ObjectId[] key) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.core.RowMetaAndData getOneRow(String schemaAndTable, String keyfield, org.pentaho.di.repository.ObjectId id) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.core.RowMetaAndData getOneRow(String sql) throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseException
public org.pentaho.di.core.RowMetaAndData getOneRow(String sql, org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] rowData) throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseException
public String getStringWithID(String tablename, String keyfield, org.pentaho.di.repository.ObjectId id, String fieldname) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public List<Object[]> getRows(String sql, int limit) throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseException
public org.pentaho.di.core.row.RowMetaInterface getReturnRowMeta() throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseException
public void insertTableRow(String tablename, org.pentaho.di.core.RowMetaAndData values) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public Collection<org.pentaho.di.core.RowMetaAndData> getDatabaseAttributes(org.pentaho.di.repository.ObjectId id_database) throws org.pentaho.di.core.exception.KettleDatabaseException, org.pentaho.di.core.exception.KettleValueException
org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleValueException
public org.pentaho.di.core.RowMetaAndData getParameterMetaData(org.pentaho.di.repository.ObjectId... ids) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void performDelete(String sql, org.pentaho.di.repository.ObjectId... ids) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void closeAttributeLookupPreparedStatements() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void closeReadTransaction() throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseException