Class NativeContext

java.lang.Object
org.apache.arrow.dataset.jni.NativeContext

public class NativeContext extends Object
Context for relevant classes of NativeDataset.
  • Constructor Details

    • NativeContext

      public NativeContext(BufferAllocator allocator, NativeMemoryPool memoryPool)
      Constructor.
      Parameters:
      allocator - The allocator in use.
      memoryPool - Native memory pool.
  • Method Details

    • getAllocator

      public BufferAllocator getAllocator()
      Returns the allocator which is in use.
    • getMemoryPool

      public NativeMemoryPool getMemoryPool()
      Returns the native memory pool.