Class 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 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 creates ExtendedStringBeginEvent instances.
      Parameters:
      eventType - the event type
      scn - the system change number, must not be null
      tableId - the fully-qualified table name
      rowId - the Oracle row-id the change is associated with
      rsId - the Oracle rollback segment identifier
      changeTime - the time the change occurred
      entry - the parsed SQL statement entry
      columnName - the column name references by the SelectLobLocatorEvent
      Returns:
      the constructed ExtendedStringBeginEvent instance
    • getColumnName

      @ProtoField(number=8, required=true) public String getColumnName(ExtendedStringBeginEvent event)
      A ProtoStream handler to extract the columnName field from a SelectLobLocatorEvent type.
      Parameters:
      event - the event instance, must not be null
      Returns:
      the column name