java.lang.Object
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.LogMinerEventAdapter
io.debezium.connector.oracle.logminer.processor.infinispan.marshalling.TruncateEventAdapter

@ProtoAdapter(TruncateEvent.class) public class TruncateEventAdapter extends LogMinerEventAdapter
  • Constructor Details

    • TruncateEventAdapter

      public TruncateEventAdapter()
  • Method Details

    • factory

      @ProtoFactory public TruncateEvent factory(int eventType, String scn, String tableId, String rowId, String rsId, String changeTime, LogMinerDmlEntryImpl entry)
      A ProtoStream factory that creates TruncateEvent 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
      Returns:
      the constructed DmlEvent
    • getEntry

      @ProtoField(number=7, required=true) public LogMinerDmlEntryImpl getEntry(TruncateEvent event)
      A ProtoStream handler to extract the entry field from the TruncateEvent.
      Parameters:
      event - the event instance, must not be null
      Returns:
      the LogMinerDmlEntryImpl instance