class LogMinerQueryResultProcessor extends Object
| Modifier and Type | Field and Description |
|---|---|
private Clock |
clock |
private OracleConnectorConfig |
connectorConfig |
private ChangeEventSource.ChangeEventSourceContext |
context |
private Scn |
currentOffsetCommitScn |
private Scn |
currentOffsetScn |
private EventDispatcher<TableId> |
dispatcher |
private DmlParser |
dmlParser |
private HistoryRecorder |
historyRecorder |
private static org.slf4j.Logger |
LOGGER |
private OracleOffsetContext |
offsetContext |
private OracleDatabaseSchema |
schema |
private OracleStreamingChangeEventSourceMetrics |
streamingMetrics |
private long |
stuckScnCounter |
private TransactionalBuffer |
transactionalBuffer |
| Constructor and Description |
|---|
LogMinerQueryResultProcessor(ChangeEventSource.ChangeEventSourceContext context,
OracleConnection jdbcConnection,
OracleConnectorConfig connectorConfig,
OracleStreamingChangeEventSourceMetrics streamingMetrics,
TransactionalBuffer transactionalBuffer,
OracleOffsetContext offsetContext,
OracleDatabaseSchema schema,
EventDispatcher<TableId> dispatcher,
Clock clock,
HistoryRecorder historyRecorder) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
hasNext(ResultSet resultSet) |
private LogMinerDmlEntry |
parse(String redoSql,
Table table,
String txId) |
(package private) void |
processResult(ResultSet resultSet)
This method does all the job
|
private static DmlParser |
resolveParser(OracleConnectorConfig connectorConfig,
OracleConnection connection) |
private void |
warnStuckScn()
This method is warning if a long running transaction is discovered and could be abandoned in the future.
|
private static final org.slf4j.Logger LOGGER
private final ChangeEventSource.ChangeEventSourceContext context
private final OracleStreamingChangeEventSourceMetrics streamingMetrics
private final TransactionalBuffer transactionalBuffer
private final DmlParser dmlParser
private final OracleOffsetContext offsetContext
private final OracleDatabaseSchema schema
private final EventDispatcher<TableId> dispatcher
private final OracleConnectorConfig connectorConfig
private final Clock clock
private final HistoryRecorder historyRecorder
private Scn currentOffsetScn
private Scn currentOffsetCommitScn
private long stuckScnCounter
LogMinerQueryResultProcessor(ChangeEventSource.ChangeEventSourceContext context, OracleConnection jdbcConnection, OracleConnectorConfig connectorConfig, OracleStreamingChangeEventSourceMetrics streamingMetrics, TransactionalBuffer transactionalBuffer, OracleOffsetContext offsetContext, OracleDatabaseSchema schema, EventDispatcher<TableId> dispatcher, Clock clock, HistoryRecorder historyRecorder)
private static DmlParser resolveParser(OracleConnectorConfig connectorConfig, OracleConnection connection)
void processResult(ResultSet resultSet) throws SQLException
resultSet - the info from LogMiner viewSQLException - thrown if any database exception occursprivate boolean hasNext(ResultSet resultSet) throws SQLException
SQLExceptionprivate void warnStuckScn()
private LogMinerDmlEntry parse(String redoSql, Table table, String txId)
Copyright © 2021 JBoss by Red Hat. All rights reserved.