public class SQLColumnMappingPropertyValueParser
extends java.lang.Object
implements atg.nucleus.PropertyValueParser
SQLTableSummaryLogger
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD_COLUMN_TAG
tag that indicates sum columns for doing updates.
|
static java.lang.String |
CLASS_VERSION
Class version string
|
static char |
SEPARATOR_CHAR
separates the name from the column name
|
static java.lang.String |
SET_COLUMN_TAG
tag that indicates set columns for doing updates.
|
static char |
VARIABLE_INTRODUCER_CHAR
character that introduces variables
|
Constructor and Description |
---|
SQLColumnMappingPropertyValueParser()
Construct an empty parser
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
parsePropertyValue(java.lang.String pString,
java.lang.Class pClass)
Parse the supplied string into a SQLColumnMapping
|
public static java.lang.String CLASS_VERSION
public static final char SEPARATOR_CHAR
public static final char VARIABLE_INTRODUCER_CHAR
public static final java.lang.String ADD_COLUMN_TAG
public static final java.lang.String SET_COLUMN_TAG
public SQLColumnMappingPropertyValueParser()
public java.lang.Object parsePropertyValue(java.lang.String pString, java.lang.Class pClass) throws atg.nucleus.PropertyValueParseException
A valid string is of the form:
propname:colname[:methodType]
where propname
refers to a named property
of the event or of the summary item, colname
is the
name of the SQL column to hold the property, and the optional
methodType
is either "add" or "set". The method
type only applies to SQLTableSummaryLoggers that are configured
to do UPDATE operations when flushed their data.
parsePropertyValue
in interface atg.nucleus.PropertyValueParser
pString
- the string to parsepClass
- the desired class (not used)atg.nucleus.PropertyValueParseException
SQLTableSummaryLoggers