Package io.debezium.connector.cassandra
Class Cassandra4CommitLogSegmentReader
java.lang.Object
io.debezium.connector.cassandra.Cassandra4CommitLogSegmentReader
- All Implemented Interfaces:
CommitLogSegmentReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.cassandra.db.commitlog.CommitLogReaderprivate final org.apache.cassandra.db.commitlog.CommitLogReadHandler -
Constructor Summary
ConstructorsConstructorDescriptionCassandra4CommitLogSegmentReader(CassandraConnectorContext context, CommitLogProcessorMetrics metrics) -
Method Summary
Modifier and TypeMethodDescriptionvoidreadCommitLogSegment(File file, long segmentId, int position)
-
Field Details
-
commitLogReader
private final org.apache.cassandra.db.commitlog.CommitLogReader commitLogReader -
commitLogReadHandler
private final org.apache.cassandra.db.commitlog.CommitLogReadHandler commitLogReadHandler
-
-
Constructor Details
-
Cassandra4CommitLogSegmentReader
public Cassandra4CommitLogSegmentReader(CassandraConnectorContext context, CommitLogProcessorMetrics metrics)
-
-
Method Details
-
readCommitLogSegment
- Specified by:
readCommitLogSegmentin interfaceCommitLogSegmentReader- Throws:
IOException
-