Class LogMinerColumnResolverDmlParser

java.lang.Object
io.debezium.connector.oracle.logminer.parser.LogMinerDmlParser
io.debezium.connector.oracle.logminer.parser.LogMinerColumnResolverDmlParser
All Implemented Interfaces:
DmlParser

public class LogMinerColumnResolverDmlParser extends LogMinerDmlParser
A specialized implementation of LogMinerDmlParser that aims to map the column names when a SQL reconstruction by LogMiner fails from COLx format to the actual column name using the relational table model.

This implementation is only used when detecting a SQL reconstruction failure to minimize the total parser overhead to be applied only in this circumstance.

Author:
Chris Cranford
  • Constructor Details

    • LogMinerColumnResolverDmlParser

      public LogMinerColumnResolverDmlParser()
  • Method Details

    • getColumnIndexByName

      protected int getColumnIndexByName(String columnName, Table table)
      Description copied from class: LogMinerDmlParser
      Calculates the column index by the column name.
      Overrides:
      getColumnIndexByName in class LogMinerDmlParser
      Parameters:
      columnName - the column name
      table - the relational table mode, should not be null
      Returns:
      the column's index