Class SchemaBuilder

java.lang.Object
org.apache.drill.exec.record.SchemaBuilder

public class SchemaBuilder extends Object
A reusable builder that supports the creation of BatchSchemas. Can have a supporting expected object. If the expected Schema object is defined, the builder will always check that this schema is a equal or more materialized version of the current schema.