comparison src/main/java/org/monetdb/jdbc/MonetConnection.java @ 943:ff075ed5ce81

Spell check.
author Sjoerd Mullender <sjoerd@acm.org>
date Thu, 09 Jan 2025 10:56:14 +0100 (3 months ago)
parents c5e47b8a509c
children 5cc071c5c170
comparison
equal deleted inserted replaced
942:45c26b1a0677 943:ff075ed5ce81
1650 public void setUploadHandler(final UploadHandler uploadHandler) { 1650 public void setUploadHandler(final UploadHandler uploadHandler) {
1651 this.uploadHandler = uploadHandler; 1651 this.uploadHandler = uploadHandler;
1652 } 1652 }
1653 1653
1654 /** 1654 /**
1655 * Get the currently registerered {@link UploadHandler}, or null 1655 * Get the currently registered {@link UploadHandler}, or null
1656 * 1656 *
1657 * @return the currently registerered UploadHandler, or null 1657 * @return the currently registered UploadHandler, or null
1658 */ 1658 */
1659 public UploadHandler getUploadHandler() { 1659 public UploadHandler getUploadHandler() {
1660 return uploadHandler; 1660 return uploadHandler;
1661 } 1661 }
1662 1662
1668 public void setDownloadHandler(final DownloadHandler downloadHandler) { 1668 public void setDownloadHandler(final DownloadHandler downloadHandler) {
1669 this.downloadHandler = downloadHandler; 1669 this.downloadHandler = downloadHandler;
1670 } 1670 }
1671 1671
1672 /** 1672 /**
1673 * Get the currently registerered {@link DownloadHandler} handler, or null 1673 * Get the currently registered {@link DownloadHandler} handler, or null
1674 * 1674 *
1675 * @return the currently registerered DownloadHandler handler, or null 1675 * @return the currently registered DownloadHandler handler, or null
1676 */ 1676 */
1677 public DownloadHandler getDownloadHandler() { 1677 public DownloadHandler getDownloadHandler() {
1678 return downloadHandler; 1678 return downloadHandler;
1679 } 1679 }
1680 1680
2296 /** Whether this Response is closed */ 2296 /** Whether this Response is closed */
2297 private boolean closed; 2297 private boolean closed;
2298 2298
2299 /** The Connection that we should use when requesting a new block */ 2299 /** The Connection that we should use when requesting a new block */
2300 private final MonetConnection.ResponseList parent; 2300 private final MonetConnection.ResponseList parent;
2301 /** Whether the fetchSize was explitly set by the user */ 2301 /** Whether the fetchSize was explicitly set by the user */
2302 private final boolean cacheSizeSetExplicitly; 2302 private final boolean cacheSizeSetExplicitly;
2303 /** Whether we should send an Xclose command to the server 2303 /** Whether we should send an Xclose command to the server
2304 * if we close this Response */ 2304 * if we close this Response */
2305 private boolean destroyOnClose; 2305 private boolean destroyOnClose;
2306 /** the offset to be used on Xexport queries */ 2306 /** the offset to be used on Xexport queries */
2529 /** 2529 /**
2530 * Marks this Response as being completed. A complete Response 2530 * Marks this Response as being completed. A complete Response
2531 * needs to be consistent with regard to its internal data. 2531 * needs to be consistent with regard to its internal data.
2532 * 2532 *
2533 * @throws SQLException if the data currently in this Response is not 2533 * @throws SQLException if the data currently in this Response is not
2534 * sufficient to be consistant 2534 * sufficient to be consistent
2535 */ 2535 */
2536 /* MvD: disabled not used/needed code 2536 /* MvD: disabled not used/needed code
2537 @Override 2537 @Override
2538 public void complete() throws SQLException { 2538 public void complete() throws SQLException {
2539 final StringBuilder err = new StringBuilder(99); 2539 final StringBuilder err = new StringBuilder(99);
2934 2934
2935 /** 2935 /**
2936 * The SchemaResponse represents an schema modification response. 2936 * The SchemaResponse represents an schema modification response.
2937 * It is issued on statements like CREATE, DROP or ALTER TABLE. 2937 * It is issued on statements like CREATE, DROP or ALTER TABLE.
2938 * This response keeps a field that represents the success state, as 2938 * This response keeps a field that represents the success state, as
2939 * defined by JDBC, which is currently in MonetDB's case alwats 2939 * defined by JDBC, which is currently in MonetDB's case always
2940 * SUCCESS_NO_INFO. Note that this state is not sent by the 2940 * SUCCESS_NO_INFO. Note that this state is not sent by the
2941 * server.<br /> 2941 * server.<br />
2942 * <samp>&amp;3</samp> 2942 * <samp>&amp;3</samp>
2943 */ 2943 */
2944 // {{{ SchemaResponse class implementation 2944 // {{{ SchemaResponse class implementation