[ 
https://issues.apache.org/jira/browse/SOLR-8519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114204#comment-15114204
 ] 

Joel Bernstein commented on SOLR-8519:
--------------------------------------

I was thinking about about having the SQLHandler populate the meta-data in the 
first tuple. The approach would be to wrap a MetaDataStream around the 
TupleStream compiled from SQL statement. The MetaDataStream would then inject 
the meta-data into the first tuple in the read() method, and simply pass 
through all the other tuples. This would also allow us it pass an ordered list 
of fields in the meta-data.

> Implement ResultSetMetaDataImpl.getColumnCount()
> ------------------------------------------------
>
>                 Key: SOLR-8519
>                 URL: https://issues.apache.org/jira/browse/SOLR-8519
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrJ
>    Affects Versions: Trunk
>            Reporter: Kevin Risden
>         Attachments: SOLR-8519.patch, SOLR-8519.patch
>
>
> DBVisualizer uses getColumnCount to determine how many columns to try to 
> display from the result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to