Package dev.vortex.arrow
Class ArrowAllocation
java.lang.Object
dev.vortex.arrow.ArrowAllocation
Utility class for managing Apache Arrow memory allocation.
This class provides a global shared root allocator for Arrow memory operations used throughout the Vortex JNI layer. The allocator is configured with the maximum available heap size to allow for efficient memory management.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.arrow.memory.BufferAllocator
Returns the shared root allocator instance for Apache Arrow operations.
-
Method Details
-
rootAllocator
public static org.apache.arrow.memory.BufferAllocator rootAllocator()Returns the shared root allocator instance for Apache Arrow operations.This allocator is shared across all Arrow operations in the JVM and is configured to use the maximum available memory. It should be used as the parent allocator for all Arrow memory operations within the Vortex system.
- Returns:
- the shared
BufferAllocator
instance
-