|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.logging.PerformanceLogTable
public class PerformanceLogTable
This class describes a step performance logging table
Nested Class Summary | |
---|---|
static class |
PerformanceLogTable.ID
|
Field Summary | |
---|---|
static String |
PROP_LOG_TABLE_CONNECTION_NAME
|
static String |
PROP_LOG_TABLE_FIELD_ENABLED
|
static String |
PROP_LOG_TABLE_FIELD_ID
|
static String |
PROP_LOG_TABLE_FIELD_NAME
|
static String |
PROP_LOG_TABLE_FIELD_SUBJECT
|
static String |
PROP_LOG_TABLE_INTERVAL
|
static String |
PROP_LOG_TABLE_SCHEMA_NAME
|
static String |
PROP_LOG_TABLE_SIZE_LIMIT
|
static String |
PROP_LOG_TABLE_TABLE_NAME
|
static String |
PROP_LOG_TABLE_TIMEOUT_DAYS
|
static String |
XML_TAG
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.pentaho.di.core.logging.LogTableInterface |
---|
getActualSchemaName, getActualTableName, getConnectionName, getDatabaseMeta, getErrorsField, getFields, getKeyField, getLogDateField, getLogField, getNameField, getQuotedSchemaTableCombination, getSchemaName, getStatusField, getTableName, getTimeoutInDays, isDefined, setConnectionName |
Field Detail |
---|
public static final String XML_TAG
public static String PROP_LOG_TABLE_CONNECTION_NAME
public static String PROP_LOG_TABLE_SCHEMA_NAME
public static String PROP_LOG_TABLE_TABLE_NAME
public static String PROP_LOG_TABLE_FIELD_ID
public static String PROP_LOG_TABLE_FIELD_NAME
public static String PROP_LOG_TABLE_FIELD_ENABLED
public static String PROP_LOG_TABLE_FIELD_SUBJECT
public static String PROP_LOG_TABLE_INTERVAL
public static String PROP_LOG_TABLE_SIZE_LIMIT
public static String PROP_LOG_TABLE_TIMEOUT_DAYS
Method Detail |
---|
public Object clone()
clone
in class Object
public String getXML()
public void loadXML(Node node, List<DatabaseMeta> databases)
public void saveToRepository(RepositoryAttributeInterface attributeInterface) throws KettleException
saveToRepository
in interface LogTableInterface
attributeInterface
- The attribute interface to use to set attributes
KettleException
public void loadFromRepository(RepositoryAttributeInterface attributeInterface) throws KettleException
LogTableInterface
loadFromRepository
in interface LogTableInterface
attributeInterface
- The attribute interface used to load the attributes
KettleException
public static PerformanceLogTable getDefault(VariableSpace space, HasDatabasesInterface databasesInterface)
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 RowMetaAndData getLogRecord(LogStatus status, Object subject, Object parent)
getLogRecord
in interface LogTableInterface
id
- the id to use or -1 if no id is neededstatus
- the log status to use
public String getLogTableCode()
public String getLogTableType()
getLogTableType
in interface LogTableInterface
public String getConnectionNameVariable()
getConnectionNameVariable
in interface LogTableInterface
public String getSchemaNameVariable()
getSchemaNameVariable
in interface LogTableInterface
public String getTableNameVariable()
getTableNameVariable
in interface LogTableInterface
public List<RowMetaInterface> getRecommendedIndexes()
getRecommendedIndexes
in interface LogTableInterface
public String toString()
toString
in class Object
public DatabaseMeta getDatabaseMeta()
public String getActualConnectionName()
public String getActualSchemaName()
public void setSchemaName(String schemaName)
schemaName
- the schemaName to setpublic String getSchemaName()
public String getActualTableName()
public String getTableName()
public void setTableName(String tableName)
tableName
- the tableName to setpublic String getQuotedSchemaTableCombination()
public List<LogTableField> getFields()
public void setFields(List<LogTableField> fields)
fields
- the fields to setpublic LogTableField findField(String id)
id
- the id of the field to search for
public Object getSubject(String id)
id
-
public String getSubjectString(String id)
id
- the id of the field to look for.
public boolean containsKeyField()
public LogTableField getLogDateField()
public LogTableField getKeyField()
public LogTableField getLogField()
public LogTableField getStatusField()
public LogTableField getErrorsField()
public LogTableField getNameField()
public void loadFieldsXML(Node node)
public boolean isDefined()
public String getTimeoutInDays()
public void setTimeoutInDays(String timeoutInDays)
timeoutInDays
- the timeoutInDays to setpublic String getConnectionName()
public void setConnectionName(String connectionName)
connectionName
- the connectionName to setpublic boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |