public class KettleDatabaseRepositoryConnectionDelegate extends KettleDatabaseRepositoryBaseDelegate
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.pentaho.di.core.database.Database |
database |
protected org.pentaho.di.core.database.DatabaseMeta |
databaseMeta |
protected static int[] |
KEY_POSITIONS |
static org.pentaho.di.core.logging.LoggingObjectInterface |
loggingObject |
protected int |
majorVersion |
protected int |
minorVersion |
protected PreparedStatement |
psJobAttributesInsert |
protected PreparedStatement |
psJobAttributesLookup |
protected PreparedStatement |
psStepAttributesInsert |
protected PreparedStatement |
psStepAttributesLookup |
protected PreparedStatement |
pstmt_entry_attributes |
protected PreparedStatement |
psTransAttributesInsert |
protected PreparedStatement |
psTransAttributesLookup |
static int |
REQUIRED_MAJOR_VERSION |
static int |
REQUIRED_MINOR_VERSION |
protected ConcurrentHashMap<String,PreparedStatement> |
sqlMap |
protected List<Object[]> |
stepAttributesBuffer |
protected org.pentaho.di.core.row.RowMetaInterface |
stepAttributesRowMeta |
protected boolean |
useBatchProcessing |
log, repository| 构造器和说明 |
|---|
KettleDatabaseRepositoryConnectionDelegate(KettleDatabaseRepository repository,
org.pentaho.di.core.database.DatabaseMeta databaseMeta) |
| 限定符和类型 | 方法和说明 |
|---|---|
<V> V |
callRead(Callable<V> callable) |
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<org.pentaho.di.core.RowMetaAndData> |
getRows(String schemaAndTable) |
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) |
protected void |
verifyVersion() |
quote, quoteTablepublic static final org.pentaho.di.core.logging.LoggingObjectInterface loggingObject
public static final int REQUIRED_MAJOR_VERSION
public static final int REQUIRED_MINOR_VERSION
protected static final int[] KEY_POSITIONS
protected org.pentaho.di.core.database.Database database
protected org.pentaho.di.core.database.DatabaseMeta databaseMeta
protected int majorVersion
protected int minorVersion
protected PreparedStatement psStepAttributesLookup
protected PreparedStatement psStepAttributesInsert
protected PreparedStatement psTransAttributesLookup
protected PreparedStatement psTransAttributesInsert
protected PreparedStatement psJobAttributesLookup
protected PreparedStatement psJobAttributesInsert
protected org.pentaho.di.core.row.RowMetaInterface stepAttributesRowMeta
protected PreparedStatement pstmt_entry_attributes
protected boolean useBatchProcessing
protected ConcurrentHashMap<String,PreparedStatement> sqlMap
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.KettleExceptionpublic void connect(boolean no_lookup)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void connect(boolean no_lookup,
boolean ignoreVersion)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic static final String getRequiredVersion()
protected void verifyVersion()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void disconnect()
public void setAutoCommit(boolean autocommit)
public void commit()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic void setLookupTransAttribute()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void closeTransAttributeLookupPreparedStatement()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void setLookupJobAttribute()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void closeJobAttributeLookupPreparedStatement()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void closeStepAttributeLookupPreparedStatement()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void closeStepAttributeInsertPreparedStatement()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void closeTransAttributeInsertPreparedStatement()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void closeJobAttributeInsertPreparedStatement()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic int countNrStepAttributes(org.pentaho.di.repository.ObjectId id_step,
String code)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic int countNrTransAttributes(org.pentaho.di.repository.ObjectId id_transformation,
String code)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic List<Object[]> getTransAttributesWithPrefix(org.pentaho.di.repository.ObjectId id_transformation, String codePrefix) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic int countNrJobAttributes(org.pentaho.di.repository.ObjectId id_job,
String code)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic List<Object[]> getJobAttributesWithPrefix(org.pentaho.di.repository.ObjectId jobId, String codePrefix) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic org.pentaho.di.repository.LongObjectId getNextJobEntryAttributeID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.LongObjectId getNextID(String tableName, String fieldName) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void setLookupJobEntryAttribute()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void closeLookupJobEntryAttribute()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic int countNrJobEntryAttributes(org.pentaho.di.repository.ObjectId id_jobentry,
String code)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextTransformationID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextJobID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextNoteID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextLogID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextDatabaseID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextDatabaseTypeID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextDatabaseConnectionTypeID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextLoglevelID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextStepTypeID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextStepID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextJobEntryID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextJobEntryTypeID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.LongObjectId getNextJobEntryCopyID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.LongObjectId getNextStepAttributeID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.LongObjectId getNextTransAttributeID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.LongObjectId getNextJobAttributeID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.LongObjectId getNextDatabaseAttributeID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextTransHopID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextJobHopID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextDepencencyID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextPartitionSchemaID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextPartitionID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextTransformationPartitionSchemaID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextClusterID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextSlaveServerID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextClusterSlaveID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextTransformationSlaveID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextTransformationClusterID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextConditionID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextValueID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.ObjectId getNextUserID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void clearNextIDCounters()
public org.pentaho.di.repository.ObjectId getNextDirectoryID()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic void updateTableRow(String tablename, String idfield, org.pentaho.di.core.RowMetaAndData values) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic String[] getStrings(String sql, org.pentaho.di.repository.ObjectId... objectId) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic void unlockRepository()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic 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.KettleExceptionpublic List<org.pentaho.di.core.RowMetaAndData> getRows(String schemaAndTable) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleExceptionpublic org.pentaho.di.core.RowMetaAndData getOneRow(String sql) throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseExceptionpublic 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.KettleDatabaseExceptionpublic 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.KettleExceptionpublic List<Object[]> getRows(String sql, int limit) throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseExceptionpublic org.pentaho.di.core.row.RowMetaInterface getReturnRowMeta()
throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseExceptionpublic void insertTableRow(String tablename, org.pentaho.di.core.RowMetaAndData values) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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.KettleDatabaseExceptionorg.pentaho.di.core.exception.KettleValueExceptionpublic org.pentaho.di.core.RowMetaAndData getParameterMetaData(org.pentaho.di.repository.ObjectId... ids)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void performDelete(String sql, org.pentaho.di.repository.ObjectId... ids) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void closeAttributeLookupPreparedStatements()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void closeReadTransaction()
throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseExceptionpublic <V> V callRead(Callable<V> callable) throws org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseExceptionCopyright © 2024 Hitachi Vantara. All rights reserved.