|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.di.core.logging.JobLogTable
public class JobLogTable
This class describes a job logging table
Nested Class Summary | |
---|---|
static class |
JobLogTable.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(JobLogTable.ID id)
|
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 JobLogTable |
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()
|
String |
getLogInterval()
Get the logging interval in seconds. |
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 |
getLogSizeLimit()
|
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()
|
String |
getStepnameInput()
|
String |
getStepnameOutput()
|
String |
getStepnameRead()
|
String |
getStepnameRejected()
|
String |
getStepnameUpdated()
|
String |
getStepnameWritten()
|
Object |
getSubject(JobLogTable.ID id)
|
Object |
getSubject(String id)
Get the subject of a field with the specified ID |
String |
getSubjectString(JobLogTable.ID 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 |
isBatchIdUsed()
|
boolean |
isDefined()
|
boolean |
isLogFieldUsed()
|
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 |
setBatchIdUsed(boolean use)
|
void |
setConnectionName(String connectionName)
|
void |
setFields(List<org.pentaho.di.core.logging.LogTableField> fields)
|
void |
setLogFieldUsed(boolean use)
|
void |
setLogInterval(String logInterval)
Sets the logging interval in seconds. |
void |
setLogSizeLimit(String logSizeLimit)
|
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, 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 void saveToRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface) throws org.pentaho.di.core.exception.KettleException
saveToRepository
in interface org.pentaho.di.core.logging.LogTableInterface
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
loadFromRepository
in interface org.pentaho.di.core.logging.LogTableInterface
org.pentaho.di.core.exception.KettleException
public static JobLogTable getDefault(org.pentaho.di.core.variables.VariableSpace space, HasDatabasesInterface databasesInterface)
public org.pentaho.di.core.logging.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 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 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 |