Package org.pentaho.di.core.logging
Class JobEntryLogTable
- java.lang.Object
-
- org.pentaho.di.core.logging.BaseLogTable
-
- org.pentaho.di.core.logging.JobEntryLogTable
-
- All Implemented Interfaces:
Cloneable,org.pentaho.di.core.logging.LogTableCoreInterface,LogTableInterface
public class JobEntryLogTable extends BaseLogTable implements Cloneable, LogTableInterface
This class describes a job entry logging table- Author:
- matt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobEntryLogTable.ID
-
Field Summary
Fields Modifier and Type Field Description static StringXML_TAG-
Fields inherited from class org.pentaho.di.core.logging.BaseLogTable
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()StringgetConnectionNameVariable()static JobEntryLogTablegetDefault(org.pentaho.di.core.variables.VariableSpace space, HasDatabasesInterface databasesInterface)org.pentaho.di.core.RowMetaAndDatagetLogRecord(org.pentaho.di.core.logging.LogStatus status, Object subject, Object parent)This method calculates all the values that are requiredStringgetLogTableCode()StringgetLogTableType()List<org.pentaho.di.core.row.RowMetaInterface>getRecommendedIndexes()StringgetSchemaNameVariable()StringgetTableNameVariable()StringgetXML()voidloadXML(Node jobnode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<StepMeta> steps)Load the information for this logging table from the job XML nodevoidreplaceMeta(org.pentaho.di.core.logging.LogTableCoreInterface logTableInterface)-
Methods inherited from class org.pentaho.di.core.logging.BaseLogTable
addFieldsToIndex, addFieldToIndex, computeValueMeta, containsKeyField, equals, findField, generateTableSQL, getActualConnectionName, getActualSchemaName, getActualTableName, getConnectionName, getDatabaseMeta, getErrorsField, getFields, getFieldsXML, getKeyField, getLogBuffer, getLogBuffer, getLogDateField, getLogField, getNameField, getQuotedSchemaTableCombination, getSchemaName, getStatusField, getSubject, getSubjectString, getTableName, getTimeoutInDays, isDefined, isGlobalParameter, loadFieldsXML, loadFromRepository, replaceMeta, saveToRepository, setAllGlobalParametersToNull, setConnectionName, setFields, setSchemaName, setTableName, setTimeoutInDays, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pentaho.di.core.logging.LogTableCoreInterface
getActualSchemaName, getActualTableName, getConnectionName, getDatabaseMeta, getErrorsField, getFields, getKeyField, getLogDateField, getLogField, getNameField, getQuotedSchemaTableCombination, getSchemaName, getStatusField, getTableName, getTimeoutInDays, isDefined, loadFromRepository, saveToRepository, setConnectionName
-
Methods inherited from interface org.pentaho.di.core.logging.LogTableInterface
generateTableSQL
-
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
clone
public Object clone()
- Specified by:
clonein interfaceorg.pentaho.di.core.logging.LogTableCoreInterface- Overrides:
clonein classBaseLogTable
-
getXML
public String getXML()
- Specified by:
getXMLin interfaceLogTableInterface- Returns:
- The log table meta-data in XML format.
-
replaceMeta
public void replaceMeta(org.pentaho.di.core.logging.LogTableCoreInterface logTableInterface)
- Specified by:
replaceMetain interfaceorg.pentaho.di.core.logging.LogTableCoreInterface
-
loadXML
public void loadXML(Node jobnode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<StepMeta> steps)
Description copied from interface:LogTableInterfaceLoad the information for this logging table from the job XML node- Specified by:
loadXMLin interfaceLogTableInterface- Parameters:
jobnode- the node to load fromdatabases- the list of database to reference.steps- the steps to reference (or null)
-
getDefault
public static JobEntryLogTable getDefault(org.pentaho.di.core.variables.VariableSpace space, HasDatabasesInterface databasesInterface)
-
getLogRecord
public 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- Specified by:
getLogRecordin interfaceorg.pentaho.di.core.logging.LogTableCoreInterface- Parameters:
id- the id to use or -1 if no id is neededstatus- the log status to usesubject- the object to logparent- the parent to which the object belongs
-
getLogTableCode
public String getLogTableCode()
- Specified by:
getLogTableCodein classBaseLogTable
-
getLogTableType
public String getLogTableType()
- Specified by:
getLogTableTypein interfaceorg.pentaho.di.core.logging.LogTableCoreInterface
-
getConnectionNameVariable
public String getConnectionNameVariable()
- Specified by:
getConnectionNameVariablein interfaceorg.pentaho.di.core.logging.LogTableCoreInterface- Specified by:
getConnectionNameVariablein classBaseLogTable
-
getSchemaNameVariable
public String getSchemaNameVariable()
- Specified by:
getSchemaNameVariablein interfaceorg.pentaho.di.core.logging.LogTableCoreInterface- Specified by:
getSchemaNameVariablein classBaseLogTable
-
getTableNameVariable
public String getTableNameVariable()
- Specified by:
getTableNameVariablein interfaceorg.pentaho.di.core.logging.LogTableCoreInterface- Specified by:
getTableNameVariablein classBaseLogTable
-
getRecommendedIndexes
public List<org.pentaho.di.core.row.RowMetaInterface> getRecommendedIndexes()
- Specified by:
getRecommendedIndexesin interfaceorg.pentaho.di.core.logging.LogTableCoreInterface
-
-