Interface DataSourceDialect<C extends SourceConfig>

    • Method Detail

      • getName

        String getName()
        Get the name of dialect.
      • discoverDataCollections

        List<io.debezium.relational.TableId> discoverDataCollections​(C sourceConfig)
        Discovers the list of data collection to capture.
      • discoverDataCollectionSchemas

        Map<io.debezium.relational.TableId,​io.debezium.relational.history.TableChanges.TableChange> discoverDataCollectionSchemas​(C sourceConfig)
        Discovers the captured data collections' schema by SourceConfig.
        Parameters:
        sourceConfig - a basic source configuration.
      • displayCurrentOffset

        Offset displayCurrentOffset​(C sourceConfig)
        Displays current offset from the database e.g. query Mysql binary logs by query SHOW MASTER STATUS.
      • displayCommittedOffset

        default Offset displayCommittedOffset​(C sourceConfig)
        Displays committed offset from the database e.g. query Postgresql confirmed_lsn
      • isDataCollectionIdCaseSensitive

        boolean isDataCollectionIdCaseSensitive​(C sourceConfig)
        Check if the CollectionId is case-sensitive or not.
      • createFetchTaskContext

        FetchTask.Context createFetchTaskContext​(C sourceConfig)
        The task context used for fetch task to fetch data from external systems.
      • notifyCheckpointComplete

        default void notifyCheckpointComplete​(long checkpointId,
                                              Offset offset)
                                       throws Exception
        We may need the offset corresponding to the checkpointId. For example, we should commit LSN of checkpoint to postgres's slot.
        Throws:
        Exception
      • isIncludeDataCollection

        boolean isIncludeDataCollection​(C sourceConfig,
                                        io.debezium.relational.TableId tableId)
        Check if the tableId is included in SourceConfig.