Class JsonFileReader

java.lang.Object
org.apache.arrow.vector.ipc.JsonFileReader
All Implemented Interfaces:
AutoCloseable, DictionaryProvider

public class JsonFileReader extends Object implements AutoCloseable, DictionaryProvider
A reader for JSON files that translates them into vectors. This reader is used for integration tests.

This class uses a streaming parser API, method naming tends to reflect this implementation detail.

  • Constructor Details

    • JsonFileReader

      public JsonFileReader(File inputFile, BufferAllocator allocator) throws com.fasterxml.jackson.core.JsonParseException, IOException
      Constructs a new instance.
      Parameters:
      inputFile - The file to read.
      allocator - The allocator to use for allocating buffers.
      Throws:
      com.fasterxml.jackson.core.JsonParseException
      IOException
  • Method Details