Class BuildVectorsFromMetadata

java.lang.Object
org.apache.drill.exec.physical.resultSet.model.single.BuildVectorsFromMetadata

public class BuildVectorsFromMetadata extends Object
Build (materialize) as set of vectors based on a provided metadata schema. The vectors are bundled into a VectorContainer which is the end product of this builder.

Vectors are built recursively by walking the tree that defines a row's structure. For a classic relational tuple, the tree has just a root and a set of primitives. But, once we add array (repeated), variant (LIST, UNION) and tuple (MAP) columns, the tree grows quite complex.