Class ExtendedStringParser
java.lang.Object
io.debezium.connector.oracle.logminer.parser.AbstractSingleColumnSqlRedoPreambleParser
io.debezium.connector.oracle.logminer.parser.ExtendedStringParser
- All Implemented Interfaces:
SingleColumnSqlRedoPreambleParser
- Author:
- Chris Cranford
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate static final Stringprivate static final StringFields inherited from class io.debezium.connector.oracle.logminer.parser.AbstractSingleColumnSqlRedoPreambleParser
AND, BEGIN, columnName, columnValues, DECLARE, FOR_UPDATE, OR, schemaName, tableName, WHERE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LogMinerDmlEntrycreateDmlEntryForColumnValues(Object[] columnValues) Creates theLogMinerDmlEntryfor the column values.protected voidparseInternal(String sql, Table table) An internal parse handler that handles the unique logic per parser implementation.Methods inherited from class io.debezium.connector.oracle.logminer.parser.AbstractSingleColumnSqlRedoPreambleParser
getColumnName, getSchemaName, getTableName, indexOfThrow, parse, parseColumnValue, parseOperator, parseQuotedValue, parseWhereClause, reset, startsWithAtIndex, startsWithAtIndexThrow
-
Field Details
-
STMT_PREFIX
- See Also:
-
STMT_SUFFIX
- See Also:
-
UPDATE
- See Also:
-
SET
- See Also:
-
-
Constructor Details
-
ExtendedStringParser
public ExtendedStringParser()
-
-
Method Details
-
parseInternal
Description copied from class:AbstractSingleColumnSqlRedoPreambleParserAn internal parse handler that handles the unique logic per parser implementation.- Specified by:
parseInternalin classAbstractSingleColumnSqlRedoPreambleParser- Parameters:
sql- the SQL to be parsed, should not benulltable- the relational table model, should not benull
-
createDmlEntryForColumnValues
Description copied from class:AbstractSingleColumnSqlRedoPreambleParserCreates theLogMinerDmlEntryfor the column values.- Specified by:
createDmlEntryForColumnValuesin classAbstractSingleColumnSqlRedoPreambleParser- Parameters:
columnValues- the column values array- Returns:
- the DML entry that represents the parsed statement
-