public abstract class BaseLogTable extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
connectionName |
protected HasDatabasesInterface |
databasesInterface |
protected List<org.pentaho.di.core.logging.LogTableField> |
fields |
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 |
protected String |
schemaName |
protected org.pentaho.di.core.variables.VariableSpace |
space |
protected String |
tableName |
protected String |
timeoutInDays |
static String |
XML_TAG |
| 构造器和说明 |
|---|
BaseLogTable(org.pentaho.di.core.variables.VariableSpace space,
HasDatabasesInterface databasesInterface,
String connectionName,
String schemaName,
String tableName) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
clone() |
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() |
protected String |
getFieldsXML() |
org.pentaho.di.core.logging.LogTableField |
getKeyField() |
protected String |
getLogBuffer(org.pentaho.di.core.variables.VariableSpace space,
String logChannelId,
org.pentaho.di.core.logging.LogStatus status,
String limit) |
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() |
protected boolean |
isGlobalParameter(String parameter) |
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 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
protected org.pentaho.di.core.variables.VariableSpace space
protected HasDatabasesInterface databasesInterface
protected String connectionName
protected String schemaName
protected String tableName
protected String timeoutInDays
protected List<org.pentaho.di.core.logging.LogTableField> fields
public BaseLogTable(org.pentaho.di.core.variables.VariableSpace space,
HasDatabasesInterface databasesInterface,
String connectionName,
String schemaName,
String tableName)
public void replaceMeta(BaseLogTable baseLogTable)
protected Object clone() throws CloneNotSupportedException
clone 在类中 ObjectCloneNotSupportedExceptionpublic 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.KettleExceptionpublic void loadFromRepository(org.pentaho.di.repository.RepositoryAttributeInterface attributeInterface)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic 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()
protected String getFieldsXML()
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 setprotected String getLogBuffer(org.pentaho.di.core.variables.VariableSpace space, String logChannelId, org.pentaho.di.core.logging.LogStatus status, String limit)
public void setAllGlobalParametersToNull()
protected boolean isGlobalParameter(String parameter)
Copyright © 2024 Hitachi Vantara. All rights reserved.