PowerExchange CDC Publisher
- PowerExchange CDC Publisher 1.3
- All Products
Tag
| Description
|
---|---|
<DT_MASK>
| With date and time masking, you can change the date, time, and timestamp formats. Use one of the following syntax options:
Option 1:
Where
xxxxxxxx is the name of the column to mask. MM/dd/yyyy is the date format you want to use. The format is specified by the <format> tag. The format you specify for the column must be appropriate for the column data type.
Option 2:
Where the data type is appropriate for the mask. All columns that have the specified data type are masked.
You can enter any character string that the Java class DateTimeFormatter supports for formatting dates and times. For more information, see the Java documentation.
The input date formats that you can use are: PowerExchange Change Data Capture formatted Date, Time, or Timestamp.
|
<DT_QUOTES>
| You can wrap column values with one or more characters, based on the data type of the column. Specify this tag for each data type where a value requires a double-quotation mark character.
The following syntax wraps the value of the column with quotation mark characters:
Where <quote_character> specifies the character that wraps the column value.
CDC Publisher does not validate the wrap character. The wrap character can be any character, or characters, you choose.
By default, a data type that is not defined with the <DT_QUOTES> tag does not have column values that are wrapped by the wrap character. If needed, you can explicitly specify <DT_QUOTES> with an empty quote value, for example:
Typically, the following data types are quoted:
You can use the <quote_null_values> tag to indicate whether null column values are quoted. Valid values are:
Default is false. For example:
|
<DT_SWAP>
| Use this tag to change the data type description of a specific column or to change one data type description to another data type description for all columns.
To change the data type description of a specific column, use the following syntax:
Where
xxxxxxxx is the name of the column, and
yyyyyyyyy is the data type description to be changed to the new data type description
zzzzzzzzzz . The data type description you specify for the column must be appropriate for the data value of the column. The data type is not edited and can be any value you choose.
To change a data type description to another data type description for all columns of a specific data type, use the following syntax:
|
<EXCLUDE>
| To exclude columns from PowerExchange CDC Publisher generated message output, use the following syntax:
Where
xxxxxxxxx is the name of the column to exclude.
Wildcard characters are permitted at the beginning and end of column names. For example:
|
<TAG>
| To tag a column so that the name of the column can be used as a tag, use the following syntax:
Where
xxxxxxxx is the column name to use for the new tag. The column name must be a valid column name that is defined in the source data. After you tag the column, you can use the column name in a custom pattern.
If the specified column name does not appear in the table schema, an exception occurs at run time.
|
<DT_SWAP><column_name>Column1</column_name><old_data_type>string</old_data_type> <new_data_type>int32</new_data_type></DT_SWAP>
<EXCLUDE><column_name>INFA*</column_name></EXCLUDE>
<EXCLUDE><column_name>Column1</column_name></EXCLUDE>
<column_name>*_BeforeImage</column_name></EXCLUDE>
<TAG><column_name>Column1</column_name></TAG>