Class SelectLobLocatorEventAdapter
- 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.SelectLobLocatorEventAdapter
-
@ProtoAdapter(SelectLobLocatorEvent.class) public class SelectLobLocatorEventAdapter extends DmlEventAdapter
An Infinispan ProtoStream adapter to marshallSelectLobLocatorEventinstances. This class defines a factory for creatingSelectLobLocatorEventinstances when hydrating records from the persisted datastore asa well as field handlers to extract values to be marshalled to the protocol buffer stream. The underlying protocol buffer record consists of the following structure:message SelectLobLocatorEvent { // structure of the super type, DmlEventAdapter required string columnName = 8; required boolean binary = 9; }- Author:
- Chris Cranford
-
-
Constructor Summary
Constructors Constructor Description SelectLobLocatorEventAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectLobLocatorEventfactory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry, String columnName, Boolean binary)A ProtoStream factory that createsSelectLobLocatorEventinstances.BooleangetBinary(SelectLobLocatorEvent event)A ProtoStream handler to extract thebinaryfield from aSelectLobLocatorEventtype.StringgetColumnName(SelectLobLocatorEvent event)A ProtoStream handler to extract thecolumnNamefield from aSelectLobLocatorEventtype.-
Methods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.DmlEventAdapter
factory, getEntry
-
Methods inherited from class io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
factory, getChangeTime, getEventType, getRowId, getRsId, getScn, getTableId
-
-
-
-
Method Detail
-
factory
@ProtoFactory public SelectLobLocatorEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry, String columnName, Boolean binary)
A ProtoStream factory that createsSelectLobLocatorEventinstances.- 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 SelectLobLocatorEventbinary- whether the data is binary- or character- based- Returns:
- the constructed SelectLobLocatorEvent
-
getColumnName
@ProtoField(number=8, required=true) public String getColumnName(SelectLobLocatorEvent event)A ProtoStream handler to extract thecolumnNamefield from aSelectLobLocatorEventtype.- Parameters:
event- the event instance, must not benull- Returns:
- the column name
-
getBinary
@ProtoField(number=9, required=true) public Boolean getBinary(SelectLobLocatorEvent event)A ProtoStream handler to extract thebinaryfield from aSelectLobLocatorEventtype.- Parameters:
event- the event instance, must not benull- Returns:
- the binary data flag
-
-