public abstract class BaseLogTable extends Object
Modifier and Type | Field and Description |
---|---|
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 |
Constructor and Description |
---|
BaseLogTable(org.pentaho.di.core.variables.VariableSpace space,
HasDatabasesInterface databasesInterface,
String connectionName,
String schemaName,
String tableName) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKeyField() |
boolean |
equals(Object obj) |
org.pentaho.di.core.logging.LogTableField |
findField(String id)
Find a log table field in this log table definition.
|
String |
getActualConnectionName() |
String |
getActualSchemaName() |
String |
getActualTableName() |
String |
getConnectionName() |
abstract String |
getConnectionNameVariable() |
org.pentaho.di.core.database.DatabaseMeta |
getDatabaseMeta() |
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() |
abstract String |
getLogTableCode() |
org.pentaho.di.core.logging.LogTableField |
getNameField() |
String |
getQuotedSchemaTableCombination() |
String |
getSchemaName() |
abstract 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() |
abstract String |
getTableNameVariable() |
String |
getTimeoutInDays() |
boolean |
isDefined() |
void |
loadFieldsXML(Node node) |
void |
loadFromRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface) |
void |
replaceMeta(BaseLogTable baseLogTable) |
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 |
setAllGlobalParametersToNull() |
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() |
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
public BaseLogTable(org.pentaho.di.core.variables.VariableSpace space, HasDatabasesInterface databasesInterface, String connectionName, String schemaName, String tableName)
public void replaceMeta(BaseLogTable baseLogTable)
public void saveToRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface) throws org.pentaho.di.core.exception.KettleException
attributeInterface
- The attribute interface to use to set attributesorg.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 abstract String getLogTableCode()
public abstract String getConnectionNameVariable()
public abstract String getSchemaNameVariable()
public abstract String getTableNameVariable()
public org.pentaho.di.core.database.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<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 forpublic 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 setpublic void setAllGlobalParametersToNull()