Class SelectLobParser
java.lang.Object
io.debezium.connector.oracle.logminer.parser.SelectLobParser
Simple text-based parser implementation for Oracle LogMiner SEL_LOB_LOCATOR Redo SQL.
- Author:
- Chris Cranford
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate booleanprivate static final Stringprivate static final Stringprivate Stringprivate Object[]private static final Stringprivate static final Stringprivate static final Stringprivate Stringprivate static final Stringprivate Stringprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisBinary()Parse the supplied SEL_LOB_LOCATOR event redo SQL statement.private intparseColumnValue(String sql, int index, int columnIndex) private intparseOperator(String sql, int index) private intparseQuotedValue(String sql, int index, Consumer<String> collector) private intparseWhere(String sql, int index, Table table) private void
-
Field Details
-
BEGIN
- See Also:
-
SELECT
- See Also:
-
FROM
- See Also:
-
WHERE
- See Also:
-
AND
- See Also:
-
OR
- See Also:
-
FOR_UPDATE
- See Also:
-
BLOB_LOCATOR
- See Also:
-
BLOB_BUFFER
- See Also:
-
columnName
-
schemaName
-
tableName
-
binary
private boolean binary -
columnValues
-
-
Constructor Details
-
SelectLobParser
public SelectLobParser()
-
-
Method Details
-
parse
Parse the supplied SEL_LOB_LOCATOR event redo SQL statement.- Parameters:
sql- SQL statement expression to be parsedtable- the relational table- Returns:
- instance of
LogMinerDmlEntryfor the parsed fragment.
-
getColumnName
- Returns:
- the column name that the SEL_LOB_LOCATOR event is modifying
-
isBinary
public boolean isBinary()- Returns:
- true if the column being modified is a BLOB; otherwise false indicates a CLOB data type.
-
parseQuotedValue
-
parseColumnValue
-
parseWhere
-
parseOperator
-
reset
-