Class CancellableResultSet

java.lang.Object
io.debezium.jdbc.CancellableResultSet
All Implemented Interfaces:
AutoCloseable, ResultSet, Wrapper

public class CancellableResultSet extends Object implements ResultSet
A decorator for a ResultSet that cancels the parent Statement before the delegate set is closed. Some JDBC drivers need to cycle through all the fetched rows before they can close a result set, so for potentially large queries such as table snapshots, a round trip to the server to cancel the statement could save time.
Author:
Mark Bereznitsky