Registry / serialization / arrow-vector

arrow-vector

JSON →
library19.0.0javamavenunverified

Off-heap reference implementation for the Arrow columnar data format, providing vector containers for data processing.

<dependency> <groupId>org.apache.arrow</groupId> <artifactId>arrow-vector</artifactId> <version>19.0.0</version> </dependency>
INSTALL
IMPORT
SIG · ARROW-VECTOR
A
arrow-vector
serializationjavav19.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VectorSchemaRoot
org.apache.arrow.vector.VectorSchemaRoot

Creates an Arrow vector schema root and populates an integer vector.

import org.apache.arrow.vector.VectorSchemaRoot; import org.apache.arrow.vector.IntVector; import org.apache.arrow.memory.RootAllocator; public class Example { public static void main(String[] args) { try (RootAllocator allocator = new RootAllocator(); VectorSchemaRoot root = VectorSchemaRoot.create(allocator)) { IntVector intVector = (IntVector) root.getVector("intField"); intVector.allocateNew(10); intVector.set(0, 42); intVector.setValueCount(10); } } }
Debug
Known issues
gotchaMemory management requires careful handling of allocators and closing resources.
fix
Always use try-with-resources or explicitly close allocators and vectors.
affects: *
Upgrade
Version history
19.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
arrow-vector — mvn dependency:get arrow-vector · libregistry