comparison src/main/java/org/monetdb/jdbc/MonetConnection.java @ 857:8dc5047e9d04

Move non JDBC API method to the end where the other add methods are placed.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 01 Feb 2024 13:56:26 +0100 (15 months ago)
parents d9a45743536d
children 5a59910e8f87
comparison
equal deleted inserted replaced
856:c6946ee9f5ce 857:8dc5047e9d04
1242 } 1242 }
1243 return isValid; 1243 return isValid;
1244 } 1244 }
1245 1245
1246 /** 1246 /**
1247 * Construct a Properties object holding all connection parameters such
1248 * as host, port, TLS configuration, autocommit, etc.
1249 * Passing this to {@link DriverManager.getConnection()} together
1250 * with the URL "jdbc:monetdb:" will create a new connection identical to
1251 * the current one.
1252 *
1253 * @return
1254 */
1255
1256 public Properties getConnectionProperties() {
1257 return target.getProperties();
1258 }
1259
1260 /**
1261 * Returns the value of the client info property specified by name. 1247 * Returns the value of the client info property specified by name.
1262 * This method may return null if the specified client info property 1248 * This method may return null if the specified client info property
1263 * has not been set and does not have a default value. 1249 * has not been set and does not have a default value.
1264 * This method will also return null if the specified client info 1250 * This method will also return null if the specified client info
1265 * property name is not supported by the driver. 1251 * property name is not supported by the driver.
1523 } 1509 }
1524 1510
1525 //== end methods of interface java.sql.Connection 1511 //== end methods of interface java.sql.Connection
1526 1512
1527 1513
1528 //== internal helper methods which do not belong to the JDBC interface 1514 //== internal helper methods which do NOT belong to the JDBC interface
1515
1516 /**
1517 * Construct a Properties object holding all connection parameters such
1518 * as host, port, TLS configuration, autocommit, etc.
1519 * Passing this to {@link DriverManager.getConnection()} together
1520 * with the URL "jdbc:monetdb:" will create a new connection identical to
1521 * the current one.
1522 *
1523 * @return a Properties object
1524 */
1525 public Properties getConnectionProperties() {
1526 return target.getProperties();
1527 }
1528
1529 1529
1530 /** Handler for COPY ... INTO ... FROM 'data-file-name' ON CLIENT requests */ 1530 /** Handler for COPY ... INTO ... FROM 'data-file-name' ON CLIENT requests */
1531 private UploadHandler uploadHandler; 1531 private UploadHandler uploadHandler;
1532 /** Handler for COPY ... INTO 'data-file-name' ON CLIENT requests */ 1532 /** Handler for COPY ... INTO 'data-file-name' ON CLIENT requests */
1533 private DownloadHandler downloadHandler; 1533 private DownloadHandler downloadHandler;