Skip to content

[Java] Provide a common interface for float4 and float8 vectors #22632

Closed

Description

@asfimport

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

Reporter: Liya Fan / @liyafan82
Assignee: Liya Fan / @liyafan82

PRs and other links:

Note: This issue was originally created as ARROW-6247. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Aug 31, 2019

    @asfimport
    Author

    Micah Kornfield / @emkornfield:
    Issue resolved by pull request 5132
    #5132

  2. added this to the 0.15.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions