Mercurial > hg > monetdb-java
comparison src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java @ 231:68b9452f1215
Fix warnings:
[javadoc] /export/scratch1/dinther/javadev/monetdb-java/src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java:303: warning: attribute obsolete, use CSS instead: size
[javadoc] * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns false.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 17 May 2018 15:34:13 +0200 (2018-05-17) |
parents | 75a5b5754020 |
children | 3c3345a298f2 55375d489024 |
comparison
equal
deleted
inserted
replaced
230:60334b96df18 | 231:68b9452f1215 |
---|---|
298 } | 298 } |
299 | 299 |
300 /** | 300 /** |
301 * Does the database treat mixed case unquoted SQL identifiers | 301 * Does the database treat mixed case unquoted SQL identifiers |
302 * as case sensitive and as a result store them in mixed case? | 302 * as case sensitive and as a result store them in mixed case? |
303 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns false. | 303 * A JDBC Compliant <sup>TM</sup> driver always returns false. |
304 * | 304 * |
305 * @return false | 305 * @return false |
306 */ | 306 */ |
307 @Override | 307 @Override |
308 public boolean supportsMixedCaseIdentifiers() { | 308 public boolean supportsMixedCaseIdentifiers() { |
343 } | 343 } |
344 | 344 |
345 /** | 345 /** |
346 * Does the database treat mixed case quoted SQL identifiers as | 346 * Does the database treat mixed case quoted SQL identifiers as |
347 * case sensitive and as a result store them in mixed case? | 347 * case sensitive and as a result store them in mixed case? |
348 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 348 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
349 * | 349 * |
350 * @return true if so | 350 * @return true if so |
351 */ | 351 */ |
352 @Override | 352 @Override |
353 public boolean supportsMixedCaseQuotedIdentifiers() { | 353 public boolean supportsMixedCaseQuotedIdentifiers() { |
388 } | 388 } |
389 | 389 |
390 /** | 390 /** |
391 * What is the string used to quote SQL identifiers? | 391 * What is the string used to quote SQL identifiers? |
392 * This returns a space if identifier quoting isn't supported. | 392 * This returns a space if identifier quoting isn't supported. |
393 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver | 393 * A JDBC Compliant <sup>TM</sup> driver |
394 * will always use a double quote character. | 394 * will always use a double quote character. |
395 * | 395 * |
396 * @return the quoting string | 396 * @return the quoting string |
397 */ | 397 */ |
398 @Override | 398 @Override |
576 /** | 576 /** |
577 * Is column aliasing supported? | 577 * Is column aliasing supported? |
578 * | 578 * |
579 * <p>If so, the SQL AS clause can be used to provide names for | 579 * <p>If so, the SQL AS clause can be used to provide names for |
580 * computed columns or to provide alias names for columns as required. | 580 * computed columns or to provide alias names for columns as required. |
581 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 581 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
582 * | 582 * |
583 * <p>e.g. | 583 * <p>e.g. |
584 * | 584 * |
585 * <br><pre> | 585 * <br><pre> |
586 * select count(C) as C_COUNT from T group by C; | 586 * select count(C) as C_COUNT from T group by C; |
595 return true; | 595 return true; |
596 } | 596 } |
597 | 597 |
598 /** | 598 /** |
599 * Are concatenations between NULL and non-NULL values NULL? | 599 * Are concatenations between NULL and non-NULL values NULL? |
600 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 600 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
601 * | 601 * |
602 * @return true if so | 602 * @return true if so |
603 */ | 603 */ |
604 @Override | 604 @Override |
605 public boolean nullPlusNonNullIsNull() { | 605 public boolean nullPlusNonNullIsNull() { |
761 return false; | 761 return false; |
762 } | 762 } |
763 | 763 |
764 /** | 764 /** |
765 * Are table correlation names supported? | 765 * Are table correlation names supported? |
766 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 766 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
767 * | 767 * |
768 * @return true if so | 768 * @return true if so |
769 */ | 769 */ |
770 @Override | 770 @Override |
771 public boolean supportsTableCorrelationNames() { | 771 public boolean supportsTableCorrelationNames() { |
842 return true; | 842 return true; |
843 } | 843 } |
844 | 844 |
845 /** | 845 /** |
846 * Is the escape character in "LIKE" clauses supported? | 846 * Is the escape character in "LIKE" clauses supported? |
847 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 847 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
848 * | 848 * |
849 * @return true if so | 849 * @return true if so |
850 */ | 850 */ |
851 @Override | 851 @Override |
852 public boolean supportsLikeEscapeClause() { | 852 public boolean supportsLikeEscapeClause() { |
875 return true; | 875 return true; |
876 } | 876 } |
877 | 877 |
878 /** | 878 /** |
879 * Can columns be defined as non-nullable. | 879 * Can columns be defined as non-nullable. |
880 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 880 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
881 * | 881 * |
882 * @return true if so | 882 * @return true if so |
883 */ | 883 */ |
884 @Override | 884 @Override |
885 public boolean supportsNonNullableColumns() { | 885 public boolean supportsNonNullableColumns() { |
923 return false; | 923 return false; |
924 } | 924 } |
925 | 925 |
926 /** | 926 /** |
927 * Does this driver support the ANSI-92 entry level SQL grammar? | 927 * Does this driver support the ANSI-92 entry level SQL grammar? |
928 * All JDBC Compliant <sup><font size=-2>TM</font></sup> drivers must return true. | 928 * All JDBC Compliant <sup>TM</sup> drivers must return true. |
929 * | 929 * |
930 * @return true if so | 930 * @return true if so |
931 */ | 931 */ |
932 @Override | 932 @Override |
933 public boolean supportsANSI92EntryLevelSQL() { | 933 public boolean supportsANSI92EntryLevelSQL() { |
1199 return true; | 1199 return true; |
1200 } | 1200 } |
1201 | 1201 |
1202 /** | 1202 /** |
1203 * Are subqueries in comparison expressions supported? | 1203 * Are subqueries in comparison expressions supported? |
1204 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 1204 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
1205 * MonetDB also supports this | 1205 * MonetDB also supports this |
1206 * | 1206 * |
1207 * @return true if so; false otherwise | 1207 * @return true if so; false otherwise |
1208 */ | 1208 */ |
1209 @Override | 1209 @Override |
1211 return true; | 1211 return true; |
1212 } | 1212 } |
1213 | 1213 |
1214 /** | 1214 /** |
1215 * Are subqueries in 'exists' expressions supported? | 1215 * Are subqueries in 'exists' expressions supported? |
1216 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 1216 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
1217 * | 1217 * |
1218 * @return true if so; false otherwise | 1218 * @return true if so; false otherwise |
1219 */ | 1219 */ |
1220 @Override | 1220 @Override |
1221 public boolean supportsSubqueriesInExists() { | 1221 public boolean supportsSubqueriesInExists() { |
1222 return true; | 1222 return true; |
1223 } | 1223 } |
1224 | 1224 |
1225 /** | 1225 /** |
1226 * Are subqueries in 'in' statements supported? | 1226 * Are subqueries in 'in' statements supported? |
1227 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 1227 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
1228 * | 1228 * |
1229 * @return true if so; false otherwise | 1229 * @return true if so; false otherwise |
1230 */ | 1230 */ |
1231 @Override | 1231 @Override |
1232 public boolean supportsSubqueriesInIns() { | 1232 public boolean supportsSubqueriesInIns() { |
1233 return true; | 1233 return true; |
1234 } | 1234 } |
1235 | 1235 |
1236 /** | 1236 /** |
1237 * Are subqueries in quantified expressions supported? | 1237 * Are subqueries in quantified expressions supported? |
1238 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 1238 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
1239 * | 1239 * |
1240 * (No idea what this is, but we support a good deal of | 1240 * (No idea what this is, but we support a good deal of |
1241 * subquerying.) | 1241 * subquerying.) |
1242 * | 1242 * |
1243 * @return true if so; false otherwise | 1243 * @return true if so; false otherwise |
1247 return true; | 1247 return true; |
1248 } | 1248 } |
1249 | 1249 |
1250 /** | 1250 /** |
1251 * Are correlated subqueries supported? | 1251 * Are correlated subqueries supported? |
1252 * A JDBC Compliant <sup><font size=-2>TM</font></sup> driver always returns true. | 1252 * A JDBC Compliant <sup>TM</sup> driver always returns true. |
1253 * | 1253 * |
1254 * (a.k.a. subselect in from?) | 1254 * (a.k.a. subselect in from?) |
1255 * | 1255 * |
1256 * @return true if so; false otherwise | 1256 * @return true if so; false otherwise |
1257 */ | 1257 */ |