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

Wes McKinney commented on ARROW-1833:
-------------------------------------

See 
[https://github.com/apache/arrow/blob/master/java/vector/src/main/java/org/apache/arrow/vector/SmallIntVector.java#L125]

In some applications, if the null count of a vector is 0, users could use a 
method like {{getObjectDirty}} (not sure what to call it) to get the value from 
the slot in the {{ArrowBuf}} without calling {{isSet}}. This would yield better 
performance for iterating over the values in a vector without nulls, such as 
one obtained from a Parquet file with a non-nullable (REQUIRED repetition level 
column)

> [Java] Add accessor methods for data buffers that skip null checking
> --------------------------------------------------------------------
>
>                 Key: ARROW-1833
>                 URL: https://issues.apache.org/jira/browse/ARROW-1833
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java - Vectors
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: 0.9.0
>
>




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

Reply via email to