Class ArrowBufferAllocator
- java.lang.Object
-
- com.databricks.jdbc.api.impl.arrow.ArrowBufferAllocator
-
public class ArrowBufferAllocator extends Object
CreatesBufferAllocatorinstances.First tries to create a
RootAllocatorwhich uses off-heap memory and is faster. If that fails (usually due to JVM reflection restrictions), falls back toDatabricksBufferAllocatorwhich uses heap memory.
-
-
Constructor Summary
Constructors Constructor Description ArrowBufferAllocator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.arrow.memory.BufferAllocatorgetBufferAllocator()static booleanisUsingPatchedAllocator()
-