Class LogMinerColumnResolverDmlParser
java.lang.Object
io.debezium.connector.oracle.logminer.parser.LogMinerDmlParser
io.debezium.connector.oracle.logminer.parser.LogMinerColumnResolverDmlParser
- All Implemented Interfaces:
DmlParser
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetColumnIndexByName(String columnName, Table table) Calculates the column index by the column name.Methods inherited from class io.debezium.connector.oracle.logminer.parser.LogMinerDmlParser
parse
-
Constructor Details
-
LogMinerColumnResolverDmlParser
public LogMinerColumnResolverDmlParser()
-
-
Method Details
-
getColumnIndexByName
Description copied from class:LogMinerDmlParserCalculates the column index by the column name.- Overrides:
getColumnIndexByNamein classLogMinerDmlParser- Parameters:
columnName- the column nametable- the relational table mode, should not benull- Returns:
- the column's index
-