public class TransLogTable extends BaseLogTable implements Cloneable, LogTableInterface
| Modifier and Type | Class and Description |
|---|---|
static class |
TransLogTable.ID
The client executing the transformation
|
| 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| Constructor and Description |
|---|
TransLogTable(VariableSpace space,
HasDatabasesInterface databasesInterface,
List<StepMeta> steps) |
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, toStringfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActualSchemaName, getActualTableName, getConnectionName, getDatabaseMeta, getErrorsField, getFields, getKeyField, getLogDateField, getLogField, getNameField, getQuotedSchemaTableCombination, getSchemaName, getStatusField, getTableName, getTimeoutInDays, isDefined, setConnectionNamepublic static final String XML_TAG
public TransLogTable(VariableSpace space, HasDatabasesInterface databasesInterface, List<StepMeta> steps)
public Object clone()
clone in interface LogTableCoreInterfaceclone in class BaseLogTablepublic String getXML()
getXML in interface LogTableInterfacepublic void loadXML(Node node, List<DatabaseMeta> databases, List<StepMeta> steps)
LogTableInterfaceloadXML in interface LogTableInterfacenode - 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
BaseLogTablesaveToRepository in interface LogTableCoreInterfacesaveToRepository in class BaseLogTableattributeInterface - The attribute interface to use to set attributesKettleExceptionpublic void loadFromRepository(RepositoryAttributeInterface attributeInterface) throws KettleException
loadFromRepository in interface LogTableCoreInterfaceloadFromRepository in class BaseLogTableKettleExceptionpublic void replaceMeta(LogTableCoreInterface logTableInterface)
replaceMeta in interface LogTableCoreInterfacepublic static TransLogTable getDefault(VariableSpace space, HasDatabasesInterface databasesInterface, List<StepMeta> steps)
public LogTableField findField(TransLogTable.ID id)
public Object getSubject(TransLogTable.ID id)
public String getSubjectString(TransLogTable.ID id)
public void setBatchIdUsed(boolean use)
public boolean isBatchIdUsed()
public void setLogFieldUsed(boolean use)
public boolean isLogFieldUsed()
public String getStepnameRead()
public void setStepRead(StepMeta read)
public String getStepnameWritten()
public void setStepWritten(StepMeta written)
public String getStepnameInput()
public void setStepInput(StepMeta input)
public String getStepnameOutput()
public void setStepOutput(StepMeta output)
public String getStepnameUpdated()
public void setStepUpdate(StepMeta update)
public String getStepnameRejected()
public void setStepRejected(StepMeta rejected)
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 LogTableCoreInterfaceid - the id to use or -1 if no id is neededstatus - the log status to usesubject - the subject to query, in this case a Trans objectpublic String getLogTableCode()
getLogTableCode in class BaseLogTablepublic String getLogTableType()
getLogTableType in interface LogTableCoreInterfacepublic String getConnectionNameVariable()
getConnectionNameVariable in interface LogTableCoreInterfacegetConnectionNameVariable in class BaseLogTablepublic String getSchemaNameVariable()
getSchemaNameVariable in interface LogTableCoreInterfacegetSchemaNameVariable in class BaseLogTablepublic String getTableNameVariable()
getTableNameVariable in interface LogTableCoreInterfacegetTableNameVariable in class BaseLogTablepublic List<RowMetaInterface> getRecommendedIndexes()
getRecommendedIndexes in interface LogTableCoreInterfacepublic void setAllGlobalParametersToNull()
setAllGlobalParametersToNull in class BaseLogTableCopyright © 2018 Hitachi Vantara. All rights reserved.