public class RowMapper extends Object
| Modifier and Type | Field and Description |
|---|---|
private static int |
CHANGE_TIME |
static int |
COMMIT |
private static int |
CSF |
static int |
DDL |
static int |
DELETE |
static int |
INSERT |
private static org.slf4j.Logger |
LOGGER |
static int |
MISSING_SCN |
private static int |
OPERATION |
private static int |
OPERATION_CODE |
static int |
ROLLBACK |
private static int |
SCN |
private static int |
SEG_OWNER |
private static int |
SQL_REDO |
private static int |
TABLE_NAME |
private static int |
TX_ID |
static int |
UPDATE |
private static int |
USERNAME |
| Constructor and Description |
|---|
RowMapper() |
private static final org.slf4j.Logger LOGGER
public static final int INSERT
public static final int DELETE
public static final int UPDATE
public static final int DDL
public static final int COMMIT
public static final int MISSING_SCN
public static final int ROLLBACK
private static final int SCN
private static final int SQL_REDO
private static final int OPERATION_CODE
private static final int CHANGE_TIME
private static final int TX_ID
private static final int CSF
private static final int TABLE_NAME
private static final int SEG_OWNER
private static final int OPERATION
private static final int USERNAME
public static String getOperation(TransactionalBufferMetrics metrics, ResultSet rs)
public static String getUsername(TransactionalBufferMetrics metrics, ResultSet rs)
public static int getOperationCode(TransactionalBufferMetrics metrics, ResultSet rs)
public static String getTableName(TransactionalBufferMetrics metrics, ResultSet rs)
public static String getSegOwner(TransactionalBufferMetrics metrics, ResultSet rs)
public static Timestamp getChangeTime(TransactionalBufferMetrics metrics, ResultSet rs)
public static Scn getScn(TransactionalBufferMetrics metrics, ResultSet rs)
public static String getTransactionId(TransactionalBufferMetrics metrics, ResultSet rs)
public static String getSqlRedo(TransactionalBufferMetrics metrics, ResultSet rs, boolean isDml, HistoryRecorder historyRecorder, Scn scn, String tableName, String segOwner, int operationCode, Timestamp changeTime, String txId)
metrics - metricsrs - result setisDml - flag indicating if operation code is a DMLhistoryRecorder - history recorderscn - scntableName - table namesegOwner - segment owneroperationCode - operation codechangeTime - time of changetxId - transaction IDprivate static void logError(TransactionalBufferMetrics metrics, SQLException e, String s)
public static io.debezium.relational.TableId getTableId(String catalogName, ResultSet rs) throws SQLException
SQLExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.