[ https://issues.apache.org/jira/browse/CASSANDRA-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089114#comment-13089114 ]
Rick Shaw edited comment on CASSANDRA-2926 at 8/22/11 10:57 PM: ---------------------------------------------------------------- With 176 methods, what are the odds I guess right on all :) So let me say first off, I be glad to change any values. But here are my excuses... - allTablesAreSelectable -- references whether the user can use all the tables returned by {{getTables()}}, which is not currently supported. We return an empty {{ResultSet}}. Since we did not return any tables in the result from that method call I went with {{false}}. - getMaxBinaryLiteralLength - getMaxCharLiteralLength Zero (0) implies no limit or the limit was unknown, and as I did not know of any such limit except practicality I went with zero. I could not find any documented limits but if I missed them somewhere I will gladly put them in. - [own|others][Deletes|Inserts|Updates]AreVisible -- no good excuse for them being {{false}}. I must have been confused by all the questions running together. I will make them {{true}} in the subsequent patch. - supportsUnion -- There is no {{UNION}} operator in CQL? I answered {{false}}? was (Author: ardot): With 176 methods, what are the odds I guess right on all :) So let me say first off, I be glad to change any values. But here are my excuses... - allTablesAreSelectable -- references whether the user can use all the tables returned by {{getTables()}}, which is not currently supported. We return an empty {{ResultSet}}. Since we did not return any tables in the result from that method call I went with {{false}}. - getMaxBinaryLiteralLength - getMaxCharLiteralLength Zero (0) implies no limit or the limit was unknown, and as I did not know of any such limit except practicality I went with zero. I could not find any documented limits but if I missed them somewhere I will gladly put them in. - [own|others][Deletes|Inserts|Updates]AreVisible -- no good excuse for them being {{false}}. I must have been confused by all the questions running together. I will make them {{true}} in the subsequent patch. - supportsUnion -- There is no {{UNION}} statement type in CQL? I answered {{false}}? > The JDBC Suite should provide a simple DatabaseMetaData implementation > ---------------------------------------------------------------------- > > Key: CASSANDRA-2926 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2926 > Project: Cassandra > Issue Type: Sub-task > Components: Drivers > Affects Versions: 0.8.1, 0.8.4 > Reporter: Rick Shaw > Assignee: Rick Shaw > Priority: Minor > Labels: CQL, JDBC > Fix For: 0.8.5 > > Attachments: add-database-metadata-v1.txt > > > The {{DatabaseMetaData}} interface provides access to meta-data information > about the JDBC Driver implementation and the DB that it supports. This class > would usually be used by tooling to discover the extended capabilities of the > Driver Suite. > A very basic implementation is planned initially. Non-static metadata about > Keyspaces and Column Families can be provided in enhanced versions. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira