Class VectorContainerAccessor

java.lang.Object
org.apache.drill.exec.physical.impl.protocol.VectorContainerAccessor
All Implemented Interfaces:
BatchAccessor
Direct Known Subclasses:
IndirectContainerAccessor

public class VectorContainerAccessor extends Object implements BatchAccessor
Wraps a vector container and optional selection vector in an interface simpler than the entire RecordBatch. This implementation hosts a container only.

Separates the idea of a batch schema and data batch. The accessor can identify a schema even if it has no batches. This occurs for readers that can identify the schema, but produce no actual data.

This version is designed for the the scan operator which will produce a series of different vector containers (which, oddly, must all contain the same vectors.)