Package solutions.a2.cdc.oracle
Class OraTable4InitialLoad
java.lang.Object
solutions.a2.cdc.oracle.OraTableDefinition
solutions.a2.cdc.oracle.OraTable4SourceConnector
solutions.a2.cdc.oracle.OraTable4InitialLoad
- 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 OraTable4InitialLoad
extends OraTable4SourceConnector
implements net.openhft.chronicle.wire.ReadMarshallable, net.openhft.chronicle.wire.WriteMarshallable
- Author:
- averemee
-
Field Summary
Fields inherited from class solutions.a2.cdc.oracle.OraTable4SourceConnector
keySchema, rdbmsInfo, schema, sourcePartition, valueSchemaFields inherited from class solutions.a2.cdc.oracle.OraTableDefinition
allColumns, pkColumns, schemaType, tableName, tableOwner, versionFields inherited from interface net.openhft.chronicle.wire.ReadMarshallable
DISCARDFields inherited from interface net.openhft.chronicle.wire.WriteMarshallable
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionOraTable4InitialLoad(Path rootDir, OraTable4LogMiner oraTable, OraCdcInitialLoad metrics, OraRdbmsInfo rdbmsInfo) Creates OraCdcTableBuffer queue -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()fqn()getPath()org.apache.kafka.connect.source.SourceRecordintlength()intoffset()voidreadMarshallable(net.openhft.chronicle.wire.WireIn wire) voidreadTableData(Long asOfScn, CountDownLatch runLatch, AtomicBoolean running, BlockingQueue<OraTable4InitialLoad> tablesQueue, OraConnectionObjects oraConnections) booleanvoidwriteMarshallable(net.openhft.chronicle.wire.WireOut wire) Methods inherited from class solutions.a2.cdc.oracle.OraTable4SourceConnector
addPseudoKey, buildColumnList, isRowLevelScn, processAllColumns, schemaEiplogue, schemaEiplogue, setRowLevelScnMethods inherited from class solutions.a2.cdc.oracle.OraTableDefinition
getAllColumns, getPkColumns, getSchemaType, getTableName, getTableOwner, getVersion, setAllColumns, setTableName, setTableOwner, setVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.openhft.chronicle.wire.ReadMarshallable
unexpectedFieldMethods inherited from interface net.openhft.chronicle.wire.WriteMarshallable
writeValue
-
Constructor Details
-
OraTable4InitialLoad
public OraTable4InitialLoad(Path rootDir, OraTable4LogMiner oraTable, OraCdcInitialLoad metrics, OraRdbmsInfo rdbmsInfo) throws IOException Creates OraCdcTableBuffer queue- Parameters:
rootDir-oraTable-metrics-rdbmsInfo-- Throws:
IOException
-
-
Method Details
-
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
-
readTableData
public void readTableData(Long asOfScn, CountDownLatch runLatch, AtomicBoolean running, BlockingQueue<OraTable4InitialLoad> tablesQueue, OraConnectionObjects oraConnections) -
getSourceRecord
public org.apache.kafka.connect.source.SourceRecord getSourceRecord() -
fqn
-
close
public void close() -
length
public int length() -
offset
public int offset() -
getPath
-