public class JobLogTable extends BaseLogTable implements Cloneable, LogTableInterface
| 限定符和类型 | 类和说明 |
|---|---|
static class |
JobLogTable.ID |
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
XML_TAG |
connectionName, databasesInterface, fields, PROP_LOG_TABLE_CONNECTION_NAME, PROP_LOG_TABLE_FIELD_ENABLED, PROP_LOG_TABLE_FIELD_ID, PROP_LOG_TABLE_FIELD_NAME, PROP_LOG_TABLE_FIELD_SUBJECT, PROP_LOG_TABLE_INTERVAL, PROP_LOG_TABLE_SCHEMA_NAME, PROP_LOG_TABLE_SIZE_LIMIT, PROP_LOG_TABLE_TABLE_NAME, PROP_LOG_TABLE_TIMEOUT_DAYS, schemaName, space, tableName, timeoutInDays| 限定符和类型 | 方法和说明 |
|---|---|
Object |
clone() |
org.pentaho.di.core.logging.LogTableField |
findField(JobLogTable.ID id) |
String |
getConnectionNameVariable() |
static JobLogTable |
getDefault(org.pentaho.di.core.variables.VariableSpace space,
HasDatabasesInterface databasesInterface) |
String |
getLogInterval()
Get the logging interval in seconds.
|
org.pentaho.di.core.RowMetaAndData |
getLogRecord(org.pentaho.di.core.logging.LogStatus status,
Object subject,
Object parent)
This method calculates all the values that are required
|
String |
getLogSizeLimit() |
String |
getLogTableCode() |
String |
getLogTableType() |
List<org.pentaho.di.core.row.RowMetaInterface> |
getRecommendedIndexes() |
String |
getSchemaNameVariable() |
String |
getStepnameInput() |
String |
getStepnameOutput() |
String |
getStepnameRead() |
String |
getStepnameRejected() |
String |
getStepnameUpdated() |
String |
getStepnameWritten() |
Object |
getSubject(JobLogTable.ID id) |
String |
getSubjectString(JobLogTable.ID id) |
String |
getTableNameVariable() |
String |
getXML() |
boolean |
isBatchIdUsed() |
boolean |
isLogFieldUsed() |
void |
loadFromRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface) |
void |
loadXML(Node node,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<StepMeta> steps)
Load the information for this logging table from the job XML node
|
void |
replaceMeta(org.pentaho.di.core.logging.LogTableCoreInterface logTableInterface) |
void |
saveToRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface)
Save this core information of the log table to the repository using the specified attribute interface.
|
void |
setAllGlobalParametersToNull() |
void |
setBatchIdUsed(boolean use) |
void |
setLogFieldUsed(boolean use) |
void |
setLogInterval(String logInterval)
Sets the logging interval in seconds.
|
void |
setLogSizeLimit(String logSizeLimit) |
containsKeyField, equals, findField, getActualConnectionName, getActualSchemaName, getActualTableName, getConnectionName, getDatabaseMeta, getErrorsField, getFields, getFieldsXML, getKeyField, getLogBuffer, getLogDateField, getLogField, getNameField, getQuotedSchemaTableCombination, getSchemaName, getStatusField, getSubject, getSubjectString, getTableName, getTimeoutInDays, isDefined, isGlobalParameter, loadFieldsXML, replaceMeta, setConnectionName, setFields, setSchemaName, setTableName, setTimeoutInDays, toStringgetActualSchemaName, getActualTableName, getConnectionName, getDatabaseMeta, getErrorsField, getFields, getKeyField, getLogDateField, getLogField, getNameField, getQuotedSchemaTableCombination, getSchemaName, getStatusField, getTableName, getTimeoutInDays, isDefined, setConnectionNamepublic Object clone()
clone 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfaceclone 在类中 BaseLogTablepublic String getXML()
getXML 在接口中 LogTableInterfacepublic void loadXML(Node node, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<StepMeta> steps)
LogTableInterfaceloadXML 在接口中 LogTableInterfacenode - the node to load fromdatabases - the list of database to reference.steps - the steps to reference (or null)public void saveToRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface)
throws org.pentaho.di.core.exception.KettleException
BaseLogTablesaveToRepository 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfacesaveToRepository 在类中 BaseLogTableattributeInterface - The attribute interface to use to set attributesorg.pentaho.di.core.exception.KettleExceptionpublic void loadFromRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface)
throws org.pentaho.di.core.exception.KettleException
loadFromRepository 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfaceloadFromRepository 在类中 BaseLogTableorg.pentaho.di.core.exception.KettleExceptionpublic void replaceMeta(org.pentaho.di.core.logging.LogTableCoreInterface logTableInterface)
replaceMeta 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfacepublic static JobLogTable getDefault(org.pentaho.di.core.variables.VariableSpace space, HasDatabasesInterface databasesInterface)
public org.pentaho.di.core.logging.LogTableField findField(JobLogTable.ID id)
public Object getSubject(JobLogTable.ID id)
public String getSubjectString(JobLogTable.ID id)
public void setBatchIdUsed(boolean use)
public boolean isBatchIdUsed()
public void setLogFieldUsed(boolean use)
public boolean isLogFieldUsed()
public String getStepnameRead()
public String getStepnameWritten()
public String getStepnameInput()
public String getStepnameOutput()
public String getStepnameUpdated()
public String getStepnameRejected()
public void setLogInterval(String logInterval)
logInterval - The log interval value. A value higher than 0 means that the log table is updated every 'logInterval'
seconds.public String getLogInterval()
logInterval - The log interval,public String getLogSizeLimit()
public void setLogSizeLimit(String logSizeLimit)
logSizeLimit - the logSizeLimit to setpublic org.pentaho.di.core.RowMetaAndData getLogRecord(org.pentaho.di.core.logging.LogStatus status,
Object subject,
Object parent)
getLogRecord 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfaceid - the id to use or -1 if no id is neededstatus - the log status to usepublic String getLogTableCode()
getLogTableCode 在类中 BaseLogTablepublic String getLogTableType()
getLogTableType 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfacepublic String getConnectionNameVariable()
getConnectionNameVariable 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfacegetConnectionNameVariable 在类中 BaseLogTablepublic String getSchemaNameVariable()
getSchemaNameVariable 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfacegetSchemaNameVariable 在类中 BaseLogTablepublic String getTableNameVariable()
getTableNameVariable 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfacegetTableNameVariable 在类中 BaseLogTablepublic List<org.pentaho.di.core.row.RowMetaInterface> getRecommendedIndexes()
getRecommendedIndexes 在接口中 org.pentaho.di.core.logging.LogTableCoreInterfacepublic void setAllGlobalParametersToNull()
Copyright © 2024 Hitachi Vantara. All rights reserved.