You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/01/14 00:42:54 UTC

[jira] Commented: (PIVOT-93) Create a pivot.sql.ResultList class

    [ https://issues.apache.org/jira/browse/PIVOT-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800015#action_12800015 ] 

Greg Brown commented on PIVOT-93:
---------------------------------

ResultList will report a length of -1 indicating that it is not a random-access list and must be accessed via an iterator. JSONSerializer and CSVSerializer have already been updated to use iterators instead of indexes when writing data.


> Create a pivot.sql.ResultList class
> -----------------------------------
>
>                 Key: PIVOT-93
>                 URL: https://issues.apache.org/jira/browse/PIVOT-93
>             Project: Pivot
>          Issue Type: New Feature
>          Components: core-sql
>            Reporter: Greg Brown
>            Assignee: Greg Brown
>             Fix For: 1.4.1
>
>
> This class will implement List<Object> and will allow callers to wrap JDBC results in a collection that is serializable by JSONSerializer and CSVSerializer.
> We'll need a way to specify the columns and types that should be extracted, possibly via a column name to Class<?> mapping.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.