Class ColumnAccessors

java.lang.Object
org.apache.drill.exec.vector.accessor.ColumnAccessors

public class ColumnAccessors extends Object
Basic accessors for most Drill vector types and modes. Each class has a bare-bones accessors that converts from the "native" Drill type to the vectors. Many classes also have "convenience" methods that convert from other Java types.

Writers work only with single vectors. Readers work with either single vectors or a "hyper vector": a collection of vectors indexed together. The details are hidden behind the RowIndex interface. If the reader accesses a single vector, then the mutator is cached at bind time. However, if the reader works with a hyper vector, then the vector is null at bind time and must be retrieved for each row (since the vector differs row-by- row.)

  • Field Details

  • Constructor Details

    • ColumnAccessors

      public ColumnAccessors()