Class LogMinerDatabaseStateWriter
java.lang.Object
io.debezium.connector.oracle.logminer.LogMinerDatabaseStateWriter
Utility class that can write the contents of several Oracle LogMiner tables to the
connector's log if and only if DEBUG logging is enabled.
- Author:
- Chris Cranford
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidlogQueryResults(OracleConnection connection, String query) Helper method that dumps the result set of an arbitrary SQL query to the connector's logs.static voidwrite(OracleConnection connection)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
LogMinerDatabaseStateWriter
public LogMinerDatabaseStateWriter()
-
-
Method Details
-
write
-
logQueryResults
Helper method that dumps the result set of an arbitrary SQL query to the connector's logs.- Parameters:
connection- the database connectionquery- the query to execute- Throws:
SQLException- thrown if an exception occurs performing a SQL operation
-