ARROW-2604: [Java] Add convenience method to VarCharVector to set Text#2071
ARROW-2604: [Java] Add convenience method to VarCharVector to set Text#2071BryanCutler wants to merge 1 commit intoapache:masterfrom
Conversation
|
I had also wondered why there was no method to set a String directly in btw, it seems hadoop users are familiar with using |
|
I am curious about the choice of using |
|
I'll commit this later today if no more comments. We can discuss further if there is still interest in adding an api directly for setting |
|
Thanks @icexelloss and @siddharthteotia ! merged to master |
This adds a convenience method to easily set values in `VarCharVector` using the friendly type `Text`. This allows the user to set values without having to think about the correct encoding. Text objects can be constructed from a String using the constructor `Text(String string)`. Extended existing test to set/get a `VarCharVector` using `Text` objects. Author: Bryan Cutler <[email protected]> Closes apache#2071 from BryanCutler/java-varchar-from-string-ARROW-2604 and squashes the following commits: 5579edb <Bryan Cutler> add set Text to VarCharVector
This adds a convenience method to easily set values in
VarCharVectorusing the friendly typeText. This allows the user to set values without having to think about the correct encoding. Text objects can be constructed from a String using the constructorText(String string).Extended existing test to set/get a
VarCharVectorusingTextobjects.