Class VectorAllocator
java.lang.Object
org.apache.drill.exec.physical.resultSet.model.single.VectorAllocator
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allocate
(int rowCount) void
allocate
(int rowCount, MetadataProvider mdProvider) void
allocate
(int rowCount, TupleMetadata schema)
-
Constructor Details
-
VectorAllocator
-
-
Method Details
-
allocate
public void allocate(int rowCount) -
allocate
-
allocate
-