# HG changeset patch # User Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> # Date 1630583171 -7200 # Node ID 5d524783f7b0e2c927c2beaff0e482f7ce1d9464 # Parent 4c2bf747f61f5b861c0a12b19de794663d363329 Move {get/set}{Down/Up}loadHander further down the file diff --git a/src/main/java/org/monetdb/jdbc/MonetConnection.java b/src/main/java/org/monetdb/jdbc/MonetConnection.java --- a/src/main/java/org/monetdb/jdbc/MonetConnection.java +++ b/src/main/java/org/monetdb/jdbc/MonetConnection.java @@ -1198,37 +1198,6 @@ public class MonetConnection } /** - * Registers a {@link MonetUploadHandler} to support for example COPY ON CLIENT - * - * @param uploadHandler the handler to register, or null to deregister - */ - public void setUploadHandler(MonetUploadHandler uploadHandler) { - this.uploadHandler = uploadHandler; - } - - /** - * Returns the currently registerered {@link MonetUploadHandler}, or null - */ - public MonetUploadHandler getUploadHandler() { - return uploadHandler; - } - /** - * Registers a {@link MonetDownloadHandler} to support for example COPY ON CLIENT - * - * @param downloadHandler the handler to register, or null to deregister - */ - public void setDownloadHandler(MonetDownloadHandler downloadHandler) { - this.downloadHandler = downloadHandler; - } - - /** - * Returns the currently registerered {@link MonetDownloadHandler} handler, or null - */ - public MonetDownloadHandler getDownloadHandler() { - return downloadHandler; - } - - /** * Returns a string identifying this Connection to the MonetDB server. * * @return a String representing this Object @@ -1706,6 +1675,37 @@ public class MonetConnection //== end methods of interface java.sql.Connection + /** + * Registers a {@link MonetUploadHandler} to support for example COPY ON CLIENT + * + * @param uploadHandler the handler to register, or null to deregister + */ + public void setUploadHandler(MonetUploadHandler uploadHandler) { + this.uploadHandler = uploadHandler; + } + + /** + * Returns the currently registerered {@link MonetUploadHandler}, or null + */ + public MonetUploadHandler getUploadHandler() { + return uploadHandler; + } + /** + * Registers a {@link MonetDownloadHandler} to support for example COPY ON CLIENT + * + * @param downloadHandler the handler to register, or null to deregister + */ + public void setDownloadHandler(MonetDownloadHandler downloadHandler) { + this.downloadHandler = downloadHandler; + } + + /** + * Returns the currently registerered {@link MonetDownloadHandler} handler, or null + */ + public MonetDownloadHandler getDownloadHandler() { + return downloadHandler; + } + //== internal helper methods which do not belong to the JDBC interface