|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.extractor.oracle.OracleCDCExtractor
public class OracleCDCExtractor
| Constructor Summary | |
|---|---|
OracleCDCExtractor()
|
|
| Method Summary | |
|---|---|
void |
configure(PluginContext context)
Complete plug-in configuration. |
DBMSEvent |
extract()
Extract the next available DBMSEvent from the database log. |
DBMSEvent |
extract(java.lang.String eventId)
Extract starting after the event ID provided as an argument. |
java.lang.String |
getCurrentResourceEventId()
Returns the last event ID committed in the database from which we are extracting. |
void |
prepare(PluginContext context)
Prepare plug-in for use. |
void |
release(PluginContext context)
Release all resources used by plug-in. |
void |
setLastEventId(java.lang.String eventId)
Set the value of the last event ID we have processed. |
void |
setPassword(java.lang.String password)
|
void |
setUrl(java.lang.String url)
|
void |
setUser(java.lang.String user)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OracleCDCExtractor()
| Method Detail |
|---|
public void setUrl(java.lang.String url)
public void setUser(java.lang.String user)
public void setPassword(java.lang.String password)
public void configure(PluginContext context)
throws ReplicatorException,
java.lang.InterruptedException
configure in interface ReplicatorPluginReplicatorException - Thrown if configuration is incomplete or
fails
java.lang.InterruptedExceptionReplicatorPlugin.configure(com.continuent.tungsten.replicator.plugin.PluginContext)
public void prepare(PluginContext context)
throws ReplicatorException,
java.lang.InterruptedException
prepare in interface ReplicatorPluginReplicatorException - Thrown if resource allocation fails
java.lang.InterruptedExceptionReplicatorPlugin.prepare(com.continuent.tungsten.replicator.plugin.PluginContext)
public void release(PluginContext context)
throws ReplicatorException,
java.lang.InterruptedException
release in interface ReplicatorPluginReplicatorException - Thrown if resource deallocation fails
java.lang.InterruptedExceptionReplicatorPlugin.release(com.continuent.tungsten.replicator.plugin.PluginContext)
public void setLastEventId(java.lang.String eventId)
throws ReplicatorException
setLastEventId in interface RawExtractoreventId - Event ID at which to begin extracting
ReplicatorExceptionRawExtractor.setLastEventId(java.lang.String)
public DBMSEvent extract()
throws ReplicatorException,
java.lang.InterruptedException
extract in interface RawExtractorReplicatorException
java.lang.InterruptedExceptionRawExtractor.extract()
public DBMSEvent extract(java.lang.String eventId)
throws ReplicatorException,
java.lang.InterruptedException
extract in interface RawExtractoreventId - Event ID at which to begin extracting
ReplicatorException - Thrown if extractor processing fails
java.lang.InterruptedException - Thrown if the applier is interruptedRawExtractor.extract(java.lang.String)
public java.lang.String getCurrentResourceEventId()
throws ReplicatorException,
java.lang.InterruptedException
getCurrentResourceEventId in interface RawExtractorReplicatorException
java.lang.InterruptedExceptionRawExtractor.getCurrentResourceEventId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||