Class VectorLoader

java.lang.Object
org.apache.arrow.vector.VectorLoader

public class VectorLoader extends Object
Loads buffers into vectors.
  • Constructor Details

    • VectorLoader

      public VectorLoader(VectorSchemaRoot root)
      Construct with a root to load and will create children in root based on schema.
      Parameters:
      root - the root to add vectors to based on schema
    • VectorLoader

      public VectorLoader(VectorSchemaRoot root, CompressionCodec.Factory factory)
      Construct with a root to load and will create children in root based on schema.
      Parameters:
      root - the root to add vectors to based on schema.
      factory - the factory to create codec.
  • Method Details

    • load

      public void load(ArrowRecordBatch recordBatch)
      Loads the record batch in the vectors. will not close the record batch
      Parameters:
      recordBatch - the batch to load