|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.filter.RenameFilter
public class RenameFilter
Filter which renames schemas, tables and columns based on a file provided. IMPORTANT: supports row change events only!
| Constructor Summary | |
|---|---|
RenameFilter()
|
|
| 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 |
setDefinitionsFile(java.lang.String definitionsFile)
Sets the path to rename definition file. |
void |
setTungstenSchema(java.lang.String tungstenSchema)
Sets the Tungsten schema, which we ignore to prevent problems with the replicator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenameFilter()
| Method Detail |
|---|
public void setDefinitionsFile(java.lang.String definitionsFile)
definitionsFile - Path to file.
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 setTungstenSchema(java.lang.String tungstenSchema)
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 | |||||||||