|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.filter.TungstenTableCDCTransformFilter
public class TungstenTableCDCTransformFilter
Filter to transform a specific database name and table into a new value.
Pattern,
Matcher| Constructor Summary | |
|---|---|
TungstenTableCDCTransformFilter()
|
|
| Method Summary | |
|---|---|
void |
configure(PluginContext context)
Complete plug-in configuration. |
ReplDBMSEvent |
filter(ReplDBMSEvent event)
Filter the event. |
void |
prepare(PluginContext context)
Prepare plug-in for use. |
void |
release(PluginContext context)
Release all resources used by plug-in. |
void |
setFrom(java.lang.String name)
Sets the regex used to match the database name. |
void |
setSuppressInsert(boolean suppressInsert)
Sets the suppressInsert value. |
void |
setTo(java.lang.String name)
Sets the corresponding regex to transform the name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TungstenTableCDCTransformFilter()
| Method Detail |
|---|
public void setFrom(java.lang.String name)
throws ReplicatorException
ReplicatorException
public void setTo(java.lang.String name)
throws ReplicatorException
ReplicatorExceptionpublic void setSuppressInsert(boolean suppressInsert)
suppressInsert - The suppressInsert to set.
public ReplDBMSEvent filter(ReplDBMSEvent event)
throws ReplicatorException
filter in interface Filterevent - An event to be filtered
ReplicatorException - Thrown if there is a processing errorFilter.filter(com.continuent.tungsten.replicator.event.ReplDBMSEvent)
public void configure(PluginContext context)
throws ReplicatorException
configure in interface ReplicatorPluginReplicatorException - Thrown if configuration is incomplete or
failsReplicatorPlugin.configure(com.continuent.tungsten.replicator.plugin.PluginContext)
public void prepare(PluginContext context)
throws ReplicatorException
prepare in interface ReplicatorPluginReplicatorException - Thrown if resource allocation failsReplicatorPlugin.prepare(com.continuent.tungsten.replicator.plugin.PluginContext)
public void release(PluginContext context)
throws ReplicatorException
release in interface ReplicatorPluginReplicatorException - Thrown if resource deallocation failsReplicatorPlugin.release(com.continuent.tungsten.replicator.plugin.PluginContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||