Class OraCdcLogMinerStatement

java.lang.Object
solutions.a2.cdc.oracle.OraCdcLogMinerStatement
All Implemented Interfaces:
net.openhft.chronicle.bytes.CommonMarshallable, net.openhft.chronicle.wire.ReadMarshallable, net.openhft.chronicle.wire.WriteMarshallable, net.openhft.chronicle.wire.WriteValue

public class OraCdcLogMinerStatement extends Object implements net.openhft.chronicle.wire.ReadMarshallable, net.openhft.chronicle.wire.WriteMarshallable
Minimlistic presentation of V$LOGMNR_CONTENTS row for OPERATION_CODE = 1|2|3
Author:
averemee
  • Constructor Details

    • OraCdcLogMinerStatement

      public OraCdcLogMinerStatement()
      Default constructor
    • OraCdcLogMinerStatement

      public OraCdcLogMinerStatement(long tableId, short operation, String sqlRedo, long ts, long scn, String rsId, long ssn, String rowId)
      Parameters:
      tableId - (((long)V$LOGMNR_CONTENTS.CON_ID) << 32) | (V$LOGMNR_CONTENTS.DATA_OBJ# & 0xFFFFFFFFL)
      operation - V$LOGMNR_CONTENTS.OPERATION_CODE
      sqlRedo - V$LOGMNR_CONTENTS.SQL_REDO (concatenated!)
      ts - V$LOGMNR_CONTENTS.TIMESTAMP (in millis)
      scn - V$LOGMNR_CONTENTS.SCN
      rsId - V$LOGMNR_CONTENTS.RS_ID
      ssn - V$LOGMNR_CONTENTS.SSN
      rowId - V$LOGMNR_CONTENTS.ROW_ID
  • Method Details

    • getTableId

      public long getTableId()
    • setTableId

      public void setTableId(long tableId)
    • getOperation

      public short getOperation()
    • setOperation

      public void setOperation(short operation)
    • getSqlRedo

      public String getSqlRedo()
    • setSqlRedo

      public void setSqlRedo(String sqlRedo)
    • getTs

      public long getTs()
    • setTs

      public void setTs(long ts)
    • getScn

      public long getScn()
    • setScn

      public void setScn(long scn)
    • getRsId

      public String getRsId()
    • setRsId

      public void setRsId(String rsId)
    • getSsn

      public long getSsn()
    • setSsn

      public void setSsn(long ssn)
    • getRowId

      public String getRowId()
    • setRowId

      public void setRowId(String rowId)
    • getLobCount

      public byte getLobCount()
    • setLobCount

      public void setLobCount(byte lobCount)
    • size

      public int size()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • writeMarshallable

      public void writeMarshallable(net.openhft.chronicle.wire.WireOut wire)
      Specified by:
      writeMarshallable in interface net.openhft.chronicle.wire.WriteMarshallable
    • readMarshallable

      public void readMarshallable(net.openhft.chronicle.wire.WireIn wire) throws net.openhft.chronicle.core.io.IORuntimeException
      Specified by:
      readMarshallable in interface net.openhft.chronicle.wire.ReadMarshallable
      Throws:
      net.openhft.chronicle.core.io.IORuntimeException
    • usesSelfDescribingMessage

      public boolean usesSelfDescribingMessage()
      Specified by:
      usesSelfDescribingMessage in interface net.openhft.chronicle.bytes.CommonMarshallable