@ProtoAdapter(SelectLobLocatorEvent.class) public class SelectLobLocatorEventAdapter extends DmlEventAdapter
An Infinispan ProtoStream adapter to marshall SelectLobLocatorEvent instances. This class defines a factory for creating SelectLobLocatorEvent instances 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 Details

    • SelectLobLocatorEventAdapter

      public SelectLobLocatorEventAdapter()
  • Method Details

    • 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 creates SelectLobLocatorEvent 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
      binary - 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 the columnName field from a SelectLobLocatorEvent type.
      Parameters:
      event - the event instance, must not be null
      Returns:
      the column name
    • getBinary

      @ProtoField(number=9, required=true) public Boolean getBinary(SelectLobLocatorEvent event)
      A ProtoStream handler to extract the binary field from a SelectLobLocatorEvent type.
      Parameters:
      event - the event instance, must not be null
      Returns:
      the binary data flag