Class InformixSnapshotChangeEventSource

java.lang.Object
io.debezium.pipeline.source.AbstractSnapshotChangeEventSource<P,O>
io.debezium.relational.RelationalSnapshotChangeEventSource<InformixPartition,InformixOffsetContext>
io.debezium.connector.informix.InformixSnapshotChangeEventSource
All Implemented Interfaces:
io.debezium.pipeline.source.spi.ChangeEventSource, io.debezium.pipeline.source.spi.SnapshotChangeEventSource<InformixPartition,InformixOffsetContext>, AutoCloseable

public class InformixSnapshotChangeEventSource extends io.debezium.relational.RelationalSnapshotChangeEventSource<InformixPartition,InformixOffsetContext>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static class 
    Mutable context which is populated in the course of snapshotting.

    Nested classes/interfaces inherited from class io.debezium.relational.RelationalSnapshotChangeEventSource

    io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P extends io.debezium.pipeline.spi.Partition,O extends io.debezium.pipeline.spi.OffsetContext>

    Nested classes/interfaces inherited from class io.debezium.pipeline.source.AbstractSnapshotChangeEventSource

    io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext<P extends io.debezium.pipeline.spi.Partition,O extends io.debezium.pipeline.spi.OffsetContext>

    Nested classes/interfaces inherited from interface io.debezium.pipeline.source.spi.ChangeEventSource

    io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    private final InformixConnection
     
    private static final org.slf4j.Logger
     

    Fields inherited from class io.debezium.relational.RelationalSnapshotChangeEventSource

    clock, connectionPool, dispatcher, MATCH_ALL_PATTERN, SELECT_ALL_PATTERN, snapshotterService

    Fields inherited from class io.debezium.pipeline.source.AbstractSnapshotChangeEventSource

    LOG_INTERVAL, notificationService
  • Constructor Summary

    Constructors
    Constructor
    Description
    InformixSnapshotChangeEventSource(InformixConnectorConfig connectorConfig, io.debezium.jdbc.MainConnectionProvidingConnectionFactory<InformixConnection> connectionFactory, InformixDatabaseSchema schema, io.debezium.pipeline.EventDispatcher<InformixPartition,io.debezium.relational.TableId> dispatcher, io.debezium.util.Clock clock, io.debezium.pipeline.source.spi.SnapshotProgressListener<InformixPartition> snapshotProgressListener, io.debezium.pipeline.notification.NotificationService<InformixPartition,InformixOffsetContext> notificationService, io.debezium.snapshot.SnapshotterService snapshotterService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    aborted(io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext)
     
    private void
    close(io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext)
     
    protected void
    completed(io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext)
     
    protected void
    connectionCreated(io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext)
     
    copyOffset(io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext)
     
    protected void
    determineSnapshotOffset(io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> ctx, InformixOffsetContext previousOffset)
     
    protected Set<io.debezium.relational.TableId>
    getAllTableIds(io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> ctx)
     
    protected io.debezium.schema.SchemaChangeEvent
    getCreateTableEvent(io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext, io.debezium.relational.Table table)
     
    protected Optional<String>
    getSnapshotSelect(io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext, io.debezium.relational.TableId tableId, List<String> columns)
    Generate a valid Informix query string for the specified table
    protected Collection<io.debezium.relational.TableId>
    getTablesForSchemaChange(io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext)
     
    protected void
    lockTablesForSchemaSnapshot(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext sourceContext, io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext)
     
    protected io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.SnapshotContext<InformixPartition,InformixOffsetContext>
    prepare(InformixPartition partition, boolean onDemand)
     
    protected void
    readTableStructure(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext sourceContext, io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext, InformixOffsetContext offsetContext, io.debezium.pipeline.source.SnapshottingTask snapshottingTask)
     
    protected void
    releaseSchemaSnapshotLocks(io.debezium.relational.RelationalSnapshotChangeEventSource.RelationalSnapshotContext<InformixPartition,InformixOffsetContext> snapshotContext)
     
    protected ResultSet
    resultSetForDataEvents(String selectStatement, Statement statement)
     

    Methods inherited from class io.debezium.relational.RelationalSnapshotChangeEventSource

    additionalColumnFilter, connectionPoolConnectionCreated, createDataEventsForTableCallable, createSchemaChangeEventsForTables, createSnapshotConnection, doCreateDataEventsForTable, doExecute, enhanceOverriddenSelect, getChangeRecordEmitter, getClock, getPreparedColumnNames, getSignalDataCollectionPattern, getSnapshotConnectionFirstSelect, getSnapshotSelectOverridesByTable, getSnapshotSourceTimestamp, getSnapshottingTask, lastSnapshotRecord, postSnapshot, preSnapshot, readTableStatement, releaseDataSnapshotLocks, rowCountForTable, tryStartingSnapshot

    Methods inherited from class io.debezium.pipeline.source.AbstractSnapshotChangeEventSource

    close, delaySnapshotIfNeeded, determineDataCollectionsToBeSnapshotted, execute, getDataCollectionPattern, getOffsets

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.debezium.pipeline.source.spi.SnapshotChangeEventSource

    getBlockingSnapshottingTask