Class ExtendedStringBeginEventAdapter
java.lang.Object
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.DmlEventAdapter
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.ExtendedStringBeginEventAdapter
@ProtoAdapter(ExtendedStringBeginEvent.class)
public class ExtendedStringBeginEventAdapter
extends DmlEventAdapter
An Infinispan ProtoStream adapter to marshall
ExtendedStringBeginEvent instances.
This class defines a factory for creating ExtendedStringBeginEvent 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, LogMinerDmlEntryImpl entry, String columnName) A ProtoStream factory that createsExtendedStringBeginEventinstances.A ProtoStream handler to extract thecolumnNamefield from aSelectLobLocatorEventtype.Methods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.DmlEventAdapter
factory, getEntryMethods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
factory, getChangeTime, getEventType, getRowId, getRsId, getScn, getTableId
-
Constructor Details
-
ExtendedStringBeginEventAdapter
public ExtendedStringBeginEventAdapter()
-
-
Method Details
-
factory
@ProtoFactory public ExtendedStringBeginEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry, String columnName) A ProtoStream factory that createsExtendedStringBeginEventinstances.- 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 entrycolumnName- the column name references by the SelectLobLocatorEvent- Returns:
- the constructed ExtendedStringBeginEvent instance
-
getColumnName
A ProtoStream handler to extract thecolumnNamefield from aSelectLobLocatorEventtype.- Parameters:
event- the event instance, must not benull- Returns:
- the column name
-