Class TruncateEventAdapter
java.lang.Object
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.TruncateEventAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfactory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry) A ProtoStream factory that createsTruncateEventinstances.getEntry(TruncateEvent event) A ProtoStream handler to extract theentryfield from theTruncateEvent.Methods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
factory, getChangeTime, getEventType, getRowId, getRsId, getScn, getTableId
-
Constructor Details
-
TruncateEventAdapter
public TruncateEventAdapter()
-
-
Method Details
-
factory
@ProtoFactory public TruncateEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry) A ProtoStream factory that createsTruncateEventinstances.- Parameters:
eventType- the event typescn- the system change number, must not benulltableId- the fully-qualified table namerowId- the Oracle row-id the change is associated withrsId- the Oracle rollback segment identifierchangeTime- the time the change occurredentry- the parsed SQL statement entry- Returns:
- the constructed DmlEvent
-
getEntry
A ProtoStream handler to extract theentryfield from theTruncateEvent.- Parameters:
event- the event instance, must not benull- Returns:
- the LogMinerDmlEntryImpl instance
-