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 |
ROLLBACK_FLAG |
private static int |
ROW_ID |
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 |
private static Calendar |
UTC_CALENDAR |
| Constructor and Description |
|---|
RowMapper() |
| Modifier and Type | Method and Description |
|---|---|
static Timestamp |
getChangeTime(ResultSet rs) |
static String |
getOperation(ResultSet rs) |
static int |
getOperationCode(ResultSet rs) |
static int |
getRollbackFlag(ResultSet rs) |
static String |
getRowId(ResultSet rs) |
static Scn |
getScn(ResultSet rs) |
static String |
getSegOwner(ResultSet rs) |
static String |
getSqlRedo(ResultSet rs,
boolean isDml,
HistoryRecorder historyRecorder,
Scn scn,
String tableName,
String segOwner,
int operationCode,
Timestamp changeTime,
String txId)
It constructs REDO_SQL.
|
static TableId |
getTableId(String catalogName,
ResultSet rs) |
static String |
getTableName(ResultSet rs) |
static String |
getTransactionId(ResultSet rs) |
static String |
getUsername(ResultSet rs) |
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
private static final int ROW_ID
private static final int ROLLBACK_FLAG
private static final Calendar UTC_CALENDAR
public static String getOperation(ResultSet rs) throws SQLException
SQLExceptionpublic static String getUsername(ResultSet rs) throws SQLException
SQLExceptionpublic static int getOperationCode(ResultSet rs) throws SQLException
SQLExceptionpublic static String getTableName(ResultSet rs) throws SQLException
SQLExceptionpublic static String getSegOwner(ResultSet rs) throws SQLException
SQLExceptionpublic static Timestamp getChangeTime(ResultSet rs) throws SQLException
SQLExceptionpublic static Scn getScn(ResultSet rs) throws SQLException
SQLExceptionpublic static String getTransactionId(ResultSet rs) throws SQLException
SQLExceptionpublic static String getSqlRedo(ResultSet rs, boolean isDml, HistoryRecorder historyRecorder, Scn scn, String tableName, String segOwner, int operationCode, Timestamp changeTime, String txId) throws SQLException
rs - result setisDml - flag indicating if operation code is a DMLhistoryRecorder - history recorderscn - scntableName - table namesegOwner - segment owneroperationCode - operation codechangeTime - time of changetxId - transaction IDSQLExceptionpublic static String getRowId(ResultSet rs) throws SQLException
SQLExceptionpublic static int getRollbackFlag(ResultSet rs) throws SQLException
SQLExceptionpublic static TableId getTableId(String catalogName, ResultSet rs) throws SQLException
SQLExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.