public class VectorAllocator extends Object
Given a vector container, and a metadata schema that matches the container, walk the schema tree to allocate new vectors according to a given row count and the size information provided in column metadata.

AllocationHelper - the class which this one replaces VectorInitializer - an earlier cut at implementation based on data from the RecordBatchSizer

  • Constructor Details

  • Method Details

    • allocate

      public void allocate(int rowCount)
    • allocate

      public void allocate(int rowCount, TupleMetadata schema)
    • allocate

      public void allocate(int rowCount, MetadataProvider mdProvider)