class LogMinerQueryResultProcessor extends Object
| Modifier and Type | Field and Description |
|---|---|
private Clock |
clock |
private OracleConnectorConfig |
connectorConfig |
private ChangeEventSource.ChangeEventSourceContext |
context |
private long |
currentOffsetCommitScn |
private long |
currentOffsetScn |
private EventDispatcher<TableId> |
dispatcher |
private DmlParser |
dmlParser |
private HistoryRecorder |
historyRecorder |
private org.slf4j.Logger |
LOGGER |
private LogMinerMetrics |
metrics |
private OracleOffsetContext |
offsetContext |
private OracleDatabaseSchema |
schema |
private long |
stuckScnCounter |
private TransactionalBuffer |
transactionalBuffer |
private TransactionalBufferMetrics |
transactionalBufferMetrics |
| Constructor and Description |
|---|
LogMinerQueryResultProcessor(ChangeEventSource.ChangeEventSourceContext context,
OracleConnection jdbcConnection,
OracleConnectorConfig connectorConfig,
LogMinerMetrics metrics,
TransactionalBuffer transactionalBuffer,
OracleOffsetContext offsetContext,
OracleDatabaseSchema schema,
EventDispatcher<TableId> dispatcher,
Clock clock,
HistoryRecorder historyRecorder) |
| Modifier and Type | Method and Description |
|---|---|
private LogMinerDmlEntry |
parse(String redoSql,
OracleDatabaseSchema schema,
TableId tableId,
String txId) |
(package private) int |
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 final ChangeEventSource.ChangeEventSourceContext context
private final LogMinerMetrics metrics
private final TransactionalBuffer transactionalBuffer
private final DmlParser dmlParser
private final OracleOffsetContext offsetContext
private final OracleDatabaseSchema schema
private final EventDispatcher<TableId> dispatcher
private final TransactionalBufferMetrics transactionalBufferMetrics
private final OracleConnectorConfig connectorConfig
private final Clock clock
private final org.slf4j.Logger LOGGER
private long currentOffsetScn
private long currentOffsetCommitScn
private long stuckScnCounter
private HistoryRecorder historyRecorder
LogMinerQueryResultProcessor(ChangeEventSource.ChangeEventSourceContext context, OracleConnection jdbcConnection, OracleConnectorConfig connectorConfig, LogMinerMetrics metrics, TransactionalBuffer transactionalBuffer, OracleOffsetContext offsetContext, OracleDatabaseSchema schema, EventDispatcher<TableId> dispatcher, Clock clock, HistoryRecorder historyRecorder)
private static DmlParser resolveParser(OracleConnectorConfig connectorConfig, OracleConnection connection)
int processResult(ResultSet resultSet)
resultSet - the info from LogMiner viewprivate void warnStuckScn()
private LogMinerDmlEntry parse(String redoSql, OracleDatabaseSchema schema, TableId tableId, String txId)
Copyright © 2021 JBoss by Red Hat. All rights reserved.