|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.di.core.logging.ChannelLogTable
public class ChannelLogTable
This class describes a logging channel logging table
Nested Class Summary | |
---|---|
static class |
ChannelLogTable.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
|
Method Summary | |
---|---|
Object |
clone()
|
boolean |
containsKeyField()
|
org.pentaho.di.core.logging.LogTableField |
findField(String id)
Find a log table field in this log table definition. |
String |
getActualSchemaName()
|
String |
getActualTableName()
|
String |
getConnectionName()
|
String |
getConnectionNameVariable()
|
org.pentaho.di.core.database.DatabaseMeta |
getDatabaseMeta()
|
static ChannelLogTable |
getDefault(org.pentaho.di.core.variables.VariableSpace space,
HasDatabasesInterface databasesInterface)
|
org.pentaho.di.core.logging.LogTableField |
getErrorsField()
|
List<org.pentaho.di.core.logging.LogTableField> |
getFields()
|
org.pentaho.di.core.logging.LogTableField |
getKeyField()
|
org.pentaho.di.core.logging.LogTableField |
getLogDateField()
|
org.pentaho.di.core.logging.LogTableField |
getLogField()
|
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 |
getLogTableCode()
|
String |
getLogTableType()
|
org.pentaho.di.core.logging.LogTableField |
getNameField()
|
String |
getQuotedSchemaTableCombination()
|
List<org.pentaho.di.core.row.RowMetaInterface> |
getRecommendedIndexes()
|
String |
getSchemaName()
|
String |
getSchemaNameVariable()
|
org.pentaho.di.core.logging.LogTableField |
getStatusField()
|
Object |
getSubject(String id)
Get the subject of a field with the specified ID |
String |
getSubjectString(String id)
Return the subject in the form of a string for the specified ID. |
String |
getTableName()
|
String |
getTableNameVariable()
|
String |
getTimeoutInDays()
|
String |
getXML()
|
boolean |
isDefined()
|
void |
loadFieldsXML(Node node)
|
void |
loadFromRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface)
|
void |
loadXML(Node node,
List<org.pentaho.di.core.database.DatabaseMeta> databases)
|
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 |
setConnectionName(String connectionName)
|
void |
setFields(List<org.pentaho.di.core.logging.LogTableField> fields)
|
void |
setSchemaName(String schemaName)
|
void |
setTableName(String tableName)
|
void |
setTimeoutInDays(String timeoutInDays)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, 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, loadFromRepository, saveToRepository, 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<org.pentaho.di.core.database.DatabaseMeta> databases)
public static ChannelLogTable getDefault(org.pentaho.di.core.variables.VariableSpace space, HasDatabasesInterface databasesInterface)
public org.pentaho.di.core.RowMetaAndData getLogRecord(org.pentaho.di.core.logging.LogStatus status, Object subject, Object parent)
getLogRecord
in interface org.pentaho.di.core.logging.LogTableInterface
id
- the id to use or -1 if no id is neededstatus
- the log status to usepublic String getLogTableCode()
public String getLogTableType()
getLogTableType
in interface org.pentaho.di.core.logging.LogTableInterface
public String getConnectionNameVariable()
getConnectionNameVariable
in interface org.pentaho.di.core.logging.LogTableInterface
public String getSchemaNameVariable()
getSchemaNameVariable
in interface org.pentaho.di.core.logging.LogTableInterface
public String getTableNameVariable()
getTableNameVariable
in interface org.pentaho.di.core.logging.LogTableInterface
public List<org.pentaho.di.core.row.RowMetaInterface> getRecommendedIndexes()
getRecommendedIndexes
in interface org.pentaho.di.core.logging.LogTableInterface
public String toString()
toString
in class Object
public void saveToRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface) throws org.pentaho.di.core.exception.KettleException
attributeInterface
- The attribute interface to use to set attributes
org.pentaho.di.core.exception.KettleException
public void loadFromRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public org.pentaho.di.core.database.DatabaseMeta getDatabaseMeta()
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<org.pentaho.di.core.logging.LogTableField> getFields()
public void setFields(List<org.pentaho.di.core.logging.LogTableField> fields)
fields
- the fields to setpublic org.pentaho.di.core.logging.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 org.pentaho.di.core.logging.LogTableField getLogDateField()
public org.pentaho.di.core.logging.LogTableField getKeyField()
public org.pentaho.di.core.logging.LogTableField getLogField()
public org.pentaho.di.core.logging.LogTableField getStatusField()
public org.pentaho.di.core.logging.LogTableField getErrorsField()
public org.pentaho.di.core.logging.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 set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |