[
https://issues.apache.org/jira/browse/SOLR-8512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095540#comment-15095540
]
Joel Bernstein commented on SOLR-8512:
--------------------------------------
I like the idea of using the SelectStream. But I think the order will be lost
by the JDBC driver. The JDBC driver uses a SolrStream under the covers which is
using the JSONTupleStream. I believe the JSONTupleStream is going to lose the
field order as it reads the stream in.
> Implement minimal set of get* methods in ResultSetImpl for column indices
> -------------------------------------------------------------------------
>
> Key: SOLR-8512
> URL: https://issues.apache.org/jira/browse/SOLR-8512
> Project: Solr
> Issue Type: Sub-task
> Components: SolrJ
> Affects Versions: Trunk
> Reporter: Kevin Risden
> Attachments: sql-preserve-order.patch
>
>
> SQL clients use the proper get* methods on the ResultSet to return items to
> be displayed. At minimum, the following methods should be implemented for
> column index:
> * public Object getObject
> * public String getString
> * public boolean getBoolean
> * public short getShort
> * public int getInt
> * public long getLong
> * public float getFloat
> * public double getDouble
> * public BigDecimal getBigDecimal
> * public Date getDate
> * public Time getTime
> * public Timestamp getTimestamp
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]