[ 
https://issues.apache.org/jira/browse/ARROW-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Liya Fan closed ARROW-6245.
---------------------------
    Resolution: Won't Fix

> [Java] Provide an interface for numeric vectors
> -----------------------------------------------
>
>                 Key: ARROW-6245
>                 URL: https://issues.apache.org/jira/browse/ARROW-6245
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> We want to provide an interface for all vectors with numeric types (small 
> int, float4, float8, etc). This interface will make it convenient for many 
> operations on a vector, like average, sum, variance, etc. With this 
> interface, the client code will be greatly simplified, with many 
> branches/switch removed.
>  
> The design is similar to BaseIntVector (the interface for all integer 
> vectors). We provide 3 methods for setting & getting numeric values:
>          setWithPossibleRounding
>          setSafeWithPossibleRounding
>          getValueAsDouble



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to