@ProtoAdapter(XmlBeginEvent.class) public class XmlBeginEventAdapter extends DmlEventAdapter
An Infinispan ProtoStream adapter to marashall XmlBeginEvent instances. This class defines a factory for creating XmlBeginEvent instances when hydrating records from the persisted datastore as 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 XmlBeginEvent {
          // structure of the super type, DmlEventAdapter
          required string columnName = 8;
      }
 
Author:
Chris Cranford
  • Constructor Details

    • XmlBeginEventAdapter

      public XmlBeginEventAdapter()
  • Method Details

    • factory

      @ProtoFactory public XmlBeginEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry, String columnName)
      A ProtoStream factory that creates XmlBeginEvent 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 SelectLobLocatorEvent
    • getColumnName

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