Interface LogTableInterface

All Superinterfaces:
org.pentaho.di.core.logging.LogTableCoreInterface
All Known Subinterfaces:
LogTablePluginInterface
All Known Implementing Classes:
ChannelLogTable, JobEntryLogTable, JobLogTable, MetricsLogTable, PerformanceLogTable, StepLogTable, TransLogTable

public interface LogTableInterface extends org.pentaho.di.core.logging.LogTableCoreInterface
  • Method Summary

    Modifier and Type
    Method
    Description
    Generate DDL necessary to create the log table or alter the existing table to the present specification
     
    void
    loadXML(Node jobnode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<StepMeta> steps)
    Load the information for this logging table from the job XML node

    Methods inherited from interface org.pentaho.di.core.logging.LogTableCoreInterface

    clone, getActualSchemaName, getActualTableName, getConnectionName, getConnectionNameVariable, getDatabaseMeta, getErrorsField, getFields, getKeyField, getLogDateField, getLogField, getLogRecord, getLogTableType, getNameField, getQuotedSchemaTableCombination, getRecommendedIndexes, getSchemaName, getSchemaNameVariable, getStatusField, getTableName, getTableNameVariable, getTimeoutInDays, isDefined, loadFromRepository, replaceMeta, saveToRepository, setConnectionName
  • Method Details

    • getXML

      String getXML()
      Returns:
      The log table meta-data in XML format.
    • loadXML

      void loadXML(Node jobnode, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<StepMeta> steps)
      Load the information for this logging table from the job XML node
      Parameters:
      jobnode - the node to load from
      databases - the list of database to reference.
      steps - the steps to reference (or null)
    • generateTableSQL

      default StringBuilder generateTableSQL(LogTableInterface logTable, AbstractMeta transMeta) throws org.pentaho.di.core.exception.KettleException
      Generate DDL necessary to create the log table or alter the existing table to the present specification
      Parameters:
      logTable -
      transMeta -
      Returns:
      The ddl that will perform the task
      Throws:
      org.pentaho.di.core.exception.KettleException