Class ExtendedStringWriteEventAdapter
java.lang.Object
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.ExtendedStringWriteEventAdapter
@ProtoAdapter(ExtendedStringWriteEvent.class)
public class ExtendedStringWriteEventAdapter
extends LogMinerEventAdapter
An Infinispan ProtoStream adapter to marshall
ExtendedStringWriteEvent instances.
This class defines a factory for creating ExtendedStringWriteEvent instances when hydrating
records from the persisted datastore as well as field handlers to extract values to be marshalled
to the protocol buffer stream.- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfactory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, String data) A ProtoStream factory that createsExtendedStringWriteEventinstances.getData(ExtendedStringWriteEvent event) A ProtoStream handler to extract thedatafield from aExtendedStringWriteEventtype.Methods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
factory, getChangeTime, getEventType, getRowId, getRsId, getScn, getTableId
-
Constructor Details
-
ExtendedStringWriteEventAdapter
public ExtendedStringWriteEventAdapter()
-
-
Method Details
-
factory
@ProtoFactory public ExtendedStringWriteEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, String data) A ProtoStream factory that createsExtendedStringWriteEventinstances.- 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 occurreddata- the LOB data- Returns:
- the constructed ExtendedStringWriteEvent
-
getData
A ProtoStream handler to extract thedatafield from aExtendedStringWriteEventtype.- Parameters:
event- the event instance, must not benull- Returns:
- the data to be written for a LOB field, may be
null
-