Mercurial > hg > monetdb-java
comparison src/main/java/org/monetdb/jdbc/MonetResultSet.java @ 554:9fa67487f38a onclient
Doc comment fixes
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Thu, 16 Sep 2021 10:30:14 +0200 (2021-09-16) |
parents | 849af4b76b28 |
children | 6aa38e8c0f2d |
comparison
equal
deleted
inserted
replaced
553:50b15ee1cb5e | 554:9fa67487f38a |
---|---|
1265 private final int[] _isNullable = new int[array_size]; | 1265 private final int[] _isNullable = new int[array_size]; |
1266 private final boolean[] _isAutoincrement = new boolean[array_size]; | 1266 private final boolean[] _isAutoincrement = new boolean[array_size]; |
1267 | 1267 |
1268 /** | 1268 /** |
1269 * A private utility method to check validity of column index number | 1269 * A private utility method to check validity of column index number |
1270 * @throws an SQLDataException when invalid column index number | 1270 * @throws SQLDataException when invalid column index number |
1271 */ | 1271 */ |
1272 private final void checkColumnIndexValidity(final int column) throws SQLDataException { | 1272 private final void checkColumnIndexValidity(final int column) throws SQLDataException { |
1273 if (column < 1 || column > columns.length) | 1273 if (column < 1 || column > columns.length) |
1274 throw MonetResultSet.newSQLInvalidColumnIndexException(column); | 1274 throw MonetResultSet.newSQLInvalidColumnIndexException(column); |
1275 } | 1275 } |
2715 * method. If the underlying type of the column is none of the | 2715 * method. If the underlying type of the column is none of the |
2716 * mentioned six, January 1st 1970 0:00:00 GMT is returned.<br /> | 2716 * mentioned six, January 1st 1970 0:00:00 GMT is returned.<br /> |
2717 * The dates are parsed with the given Calendar. | 2717 * The dates are parsed with the given Calendar. |
2718 * | 2718 * |
2719 * @param cal the Calendar to use/fill when parsing the date/time | 2719 * @param cal the Calendar to use/fill when parsing the date/time |
2720 * @param col the column to parse | 2720 * @param columnIndex the column to parse |
2721 * @param type the corresponding java.sql.Types type of the calling function | 2721 * @param type the corresponding java.sql.Types type of the calling function |
2722 * @return the fractional seconds (nanos) or -1 if the value is NULL | 2722 * @return the fractional seconds (nanos) or -1 if the value is NULL |
2723 * @throws SQLException if a database error occurs | 2723 * @throws SQLException if a database error occurs |
2724 */ | 2724 */ |
2725 private final int getJavaDate(final Calendar cal, final int columnIndex, int type) | 2725 private final int getJavaDate(final Calendar cal, final int columnIndex, int type) |