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

Kevin Risden commented on SOLR-8520:
------------------------------------

So the approach I used isn't great since it's just the length of the column 
name. Currently there is no way to know the length of a column and probably 
won't be since we don't have things like varchar types. We could do something 
like hardcode the length based on the type and document it. I don't know if it 
really matters to start. This will at least make the column width wide enough 
to display the title of the column.

> Implement ResultSetMetaDataImpl getColumnLabel(int column) and 
> getColumnDisplaySize(int column)
> -----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-8520
>                 URL: https://issues.apache.org/jira/browse/SOLR-8520
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrJ
>    Affects Versions: Trunk
>            Reporter: Kevin Risden
>
> DBVisualizer uses this column information to display proper labels on the 
> columns for the result set.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to