public class JobLogTable extends BaseLogTable implements Cloneable, LogTableInterface
Modifier and Type | Class and Description |
---|---|
static class |
JobLogTable.ID |
Modifier and Type | Field and Description |
---|---|
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
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, toString
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActualSchemaName, getActualTableName, getConnectionName, getDatabaseMeta, getErrorsField, getFields, getKeyField, getLogDateField, getLogField, getNameField, getQuotedSchemaTableCombination, getSchemaName, getStatusField, getTableName, getTimeoutInDays, isDefined, setConnectionName
public static final String XML_TAG
public Object clone()
clone
in interface LogTableCoreInterface
clone
in class BaseLogTable
public String getXML()
getXML
in interface LogTableInterface
public void loadXML(Node node, List<DatabaseMeta> databases, List<StepMeta> steps)
LogTableInterface
loadXML
in interface LogTableInterface
node
- the node to load fromdatabases
- the list of database to reference.steps
- the steps to reference (or null)public void saveToRepository(RepositoryAttributeInterface attributeInterface) throws KettleException
BaseLogTable
saveToRepository
in interface LogTableCoreInterface
saveToRepository
in class BaseLogTable
attributeInterface
- The attribute interface to use to set attributesKettleException
public void loadFromRepository(RepositoryAttributeInterface attributeInterface) throws KettleException
loadFromRepository
in interface LogTableCoreInterface
loadFromRepository
in class BaseLogTable
KettleException
public void replaceMeta(LogTableCoreInterface logTableInterface)
replaceMeta
in interface LogTableCoreInterface
public static JobLogTable getDefault(VariableSpace space, HasDatabasesInterface databasesInterface)
public 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 RowMetaAndData getLogRecord(LogStatus status, Object subject, Object parent)
getLogRecord
in interface LogTableCoreInterface
id
- the id to use or -1 if no id is neededstatus
- the log status to usepublic String getLogTableCode()
getLogTableCode
in class BaseLogTable
public String getLogTableType()
getLogTableType
in interface LogTableCoreInterface
public String getConnectionNameVariable()
getConnectionNameVariable
in interface LogTableCoreInterface
getConnectionNameVariable
in class BaseLogTable
public String getSchemaNameVariable()
getSchemaNameVariable
in interface LogTableCoreInterface
getSchemaNameVariable
in class BaseLogTable
public String getTableNameVariable()
getTableNameVariable
in interface LogTableCoreInterface
getTableNameVariable
in class BaseLogTable
public List<RowMetaInterface> getRecommendedIndexes()
getRecommendedIndexes
in interface LogTableCoreInterface
public void setAllGlobalParametersToNull()
setAllGlobalParametersToNull
in class BaseLogTable
Copyright © 2018 Hitachi Vantara. All rights reserved.