Class TupleSchema

java.lang.Object
org.apache.drill.exec.record.metadata.AbstractPropertied
org.apache.drill.exec.record.metadata.TupleSchema
All Implemented Interfaces:
Iterable<ColumnMetadata>, Propertied, TupleMetadata

public class TupleSchema extends AbstractPropertied implements TupleMetadata
Defines the schema of a tuple: either the top-level row or a nested "map" (really structure). A schema is a collection of columns (backed by vectors in the loader itself.) Columns are accessible by name or index. New columns may be added at any time; the new column takes the next available index.