Package com.continuent.tungsten.replicator.filter

Interface Summary
Filter This class defines a Filter
FilterManualProperties This class defines a more raw Filter by the fact that its properties are not automatically set by using setter methods.
 

Class Summary
BidiRemoteSlaveFilter Implements a filter to suppress events that originate on the local service for remote slaves.
BuildAuditTable Filter to transform ROW INSERT/UPDATE changes into an audit table for a specified list of schema.table pairs.
BuildIndexTable Filter to transform a specific database name to a new value using Java regular expression rules.
CaseMappingFilter Transforms database, table and column names into upper or lower case.
CDCMetadataFilter Filter which for each row change transaction adds a change data capture row to a corresponding change table.

Change table structure:
original columns ..., CDC_OP_TYPE, CDC_TIMESTAMP, CDC_SEQUENCE_NUMBER

Filter automatically generates a CDC_SEQUENCE_NUMBER primary key value for the change table.
ColumnNameFilter This class defines a ColumnNameFilter.
DatabaseTransformFilter Filter to transform a specific database name to a new value using Java regular expression rules.
DummyFilter Placeholder class that can be used to check that filters load correctly.
EnumToStringFilter EnumToStringFilter transforms enum data type values to corresponding string representation as follows:
1.
JavaScriptFilter This filter allows to develop JavaScript filters without coding any Java at all.

User's script will be precompiled once and then called on every filtered event.

Script must define the following function:
function filter(event) - called on every filtered ReplDBMSEvent.

filter(event) function's return value is handled as follows:
a.
LoggingFilter Logs the filtered event at the log4j 'info' level.
MySQLSessionSupportFilter Filter to support session specific temp tables and variables
OptimizeUpdatesFilter Removes "SET key1=value1" parts of an UPDATE if the values updated are the same as current values in the key part.
PrimaryKeyFilter This class defines a PrimaryKeyFilter
PrintEventFilter Filter to transform a specific database name to a new value using Java regular expression rules.
RenameDefinitions Definitions of requests to rename schemas, tables and columns.
RenameFilter Filter which renames schemas, tables and columns based on a file provided.
ReplicateColumnsFilter Filter to remove columns frow RowChangeData
ReplicateFilter Implements a filter to either apply or ignore operations on particular schemas and/or tables.
SetToStringFilter SetToStringFilter transforms MySQL SET data type values to corresponding string representation as follows:
1.
ShardFilter Ignores or replicates a database using rules similar to MySQL ignore-db and
TimeDelayFilter Filter to delay a transaction until a particular point in time has passed.
TungstenTableCDCTransformFilter Filter to transform a specific database name and table into a new value.