private static class SqlServerStreamingChangeEventSource.ChangeTablePointer extends ChangeTableResultSet<SqlServerChangeTable,TxLogPosition>
| Constructor and Description |
|---|
ChangeTablePointer(SqlServerChangeTable changeTable,
ResultSet resultSet) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getColumnData(ResultSet resultSet,
int columnIndex) |
protected TxLogPosition |
getNextChangePosition(ResultSet resultSet) |
protected int |
getOperation(ResultSet resultSet) |
protected boolean |
isNewTransaction()
Check whether TX in currentChangePosition is newer (higher) than TX in previousChangePosition
|
compareTo, getChangePosition, getChangeTable, getData, getOperation, getPreviousChangePosition, isCompleted, isCurrentPositionSmallerThanPreviousPosition, next, toStringpublic ChangeTablePointer(SqlServerChangeTable changeTable, ResultSet resultSet)
protected int getOperation(ResultSet resultSet) throws SQLException
getOperation in class ChangeTableResultSet<SqlServerChangeTable,TxLogPosition>SQLExceptionprotected Object getColumnData(ResultSet resultSet, int columnIndex) throws SQLException
getColumnData in class ChangeTableResultSet<SqlServerChangeTable,TxLogPosition>SQLExceptionprotected TxLogPosition getNextChangePosition(ResultSet resultSet) throws SQLException
getNextChangePosition in class ChangeTableResultSet<SqlServerChangeTable,TxLogPosition>SQLExceptionprotected boolean isNewTransaction()
throws SQLException
SQLExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.