You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Bryan Cutler (JIRA)" <ji...@apache.org> on 2018/05/23 22:35:00 UTC

[jira] [Commented] (ARROW-2604) [Java] Add method overload for VarCharVector.set(int,String)

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

Bryan Cutler commented on ARROW-2604:
-------------------------------------

I added a convenience method to set the vector using the friendly type {{org.apache.arrow.vector.util.Text}}, which is already returned by {{getObject(int index)}}.  A {{Text}} instance can easily be made from a string using the constructor {{Text(String string)}}

> [Java] Add method overload for VarCharVector.set(int,String)
> ------------------------------------------------------------
>
>                 Key: ARROW-2604
>                 URL: https://issues.apache.org/jira/browse/ARROW-2604
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Java - Vectors
>            Reporter: Uwe L. Korn
>            Assignee: Bryan Cutler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I would have expected that this is a very typical use case but at the moment I only see code that first needs to fill a {{VarCharHolder before passing it to VarCharVecttor.set()}}. We could also provide this as a convenience overload.
> Correct me please if I missed a convenience feature. I'm still new to the Java side.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)