Package solutions.a2.cdc.oracle
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
-
Field Summary
Fields inherited from interface net.openhft.chronicle.wire.ReadMarshallable
DISCARDFields inherited from interface net.openhft.chronicle.wire.WriteMarshallable
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorOraCdcLogMinerStatement(long tableId, short operation, String sqlRedo, long ts, long scn, String rsId, long ssn, String rowId) -
Method Summary
Modifier and TypeMethodDescriptionbyteshortgetRowId()getRsId()longgetScn()longgetSsn()longlonggetTs()voidreadMarshallable(net.openhft.chronicle.wire.WireIn wire) voidsetLobCount(byte lobCount) voidsetOperation(short operation) voidvoidvoidsetScn(long scn) voidsetSqlRedo(String sqlRedo) voidsetSsn(long ssn) voidsetTableId(long tableId) voidsetTs(long ts) intsize()toString()booleanvoidwriteMarshallable(net.openhft.chronicle.wire.WireOut wire) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.openhft.chronicle.wire.ReadMarshallable
unexpectedFieldMethods inherited from interface net.openhft.chronicle.wire.WriteMarshallable
writeValue
-
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_CODEsqlRedo- V$LOGMNR_CONTENTS.SQL_REDO (concatenated!)ts- V$LOGMNR_CONTENTS.TIMESTAMP (in millis)scn- V$LOGMNR_CONTENTS.SCNrsId- V$LOGMNR_CONTENTS.RS_IDssn- V$LOGMNR_CONTENTS.SSNrowId- 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
-
setSqlRedo
-
getTs
public long getTs() -
setTs
public void setTs(long ts) -
getScn
public long getScn() -
setScn
public void setScn(long scn) -
getRsId
-
setRsId
-
getSsn
public long getSsn() -
setSsn
public void setSsn(long ssn) -
getRowId
-
setRowId
-
getLobCount
public byte getLobCount() -
setLobCount
public void setLobCount(byte lobCount) -
size
public int size() -
toString
-
writeMarshallable
public void writeMarshallable(net.openhft.chronicle.wire.WireOut wire) - Specified by:
writeMarshallablein interfacenet.openhft.chronicle.wire.WriteMarshallable
-
readMarshallable
public void readMarshallable(net.openhft.chronicle.wire.WireIn wire) throws net.openhft.chronicle.core.io.IORuntimeException - Specified by:
readMarshallablein interfacenet.openhft.chronicle.wire.ReadMarshallable- Throws:
net.openhft.chronicle.core.io.IORuntimeException
-
usesSelfDescribingMessage
public boolean usesSelfDescribingMessage()- Specified by:
usesSelfDescribingMessagein interfacenet.openhft.chronicle.bytes.CommonMarshallable
-