[
https://issues.apache.org/jira/browse/CASSANDRA-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008026#comment-13008026
]
Vivek Mishra commented on CASSANDRA-2302:
-----------------------------------------
CassandraResultSetMetaData cmd = md.unwrap(CassandraResultSetMetaData.class);
should it be implicit to RsMetaData? It will encapsulate the nice concept of
multiple inheritence.
As unwrap is throwing SQLException in case of:
if (iface.equals(CassandraResultSetMetaData.class))
return (T)this;
else
throw new SQLFeatureNotSupportedException("No wrappers");
Does it make sense to implicit cast it into CassandraResultSetMetaData?
Nulll check on "values" can avoid possible NullPointerException?
> JDBC driver needs ResultSet.getMetaData()
> -----------------------------------------
>
> Key: CASSANDRA-2302
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2302
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Gary Dusbabek
> Assignee: Gary Dusbabek
> Priority: Minor
> Labels: cql
> Fix For: 0.8
>
> Attachments: v2-0001-implement-a-real-ResultSetMetaData.txt,
> v2-0002-expose-CassandraResultSetMetaData-to-inspect-type-info.txt,
> v2-0003-oh-yeah.-RSMD-column-index-all-need-to-be-off-by-one.txt,
> v2-0004-cache-comparator-and-validator-in-the-resultset.txt
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira