Mercurial > hg > monetdb-java
changeset 539:5d524783f7b0 onclient
Move {get/set}{Down/Up}loadHander further down the file
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Thu, 02 Sep 2021 13:46:11 +0200 (2021-09-02) |
parents | 4c2bf747f61f |
children | d3a96675969e |
files | src/main/java/org/monetdb/jdbc/MonetConnection.java |
diffstat | 1 files changed, 31 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- 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