You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Liya Fan (JIRA)" <ji...@apache.org> on 2019/08/15 05:47:00 UTC
[jira] [Created] (ARROW-6247) [Java] Provide a common interface for
float4 and float8 vectors
Liya Fan created ARROW-6247:
-------------------------------
Summary: [Java] Provide a common interface for float4 and float8 vectors
Key: ARROW-6247
URL: https://issues.apache.org/jira/browse/ARROW-6247
Project: Apache Arrow
Issue Type: New Feature
Components: Java
Reporter: Liya Fan
Assignee: Liya Fan
We want to provide an interface for floating point vectors (float4 & float8). This interface will make it convenient for many operations on a vector. 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 floating point values:
setWithPossibleTruncate
setSafeWithPossibleTruncate
getValueAsDouble
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)