Class RepeatedListBuilder

java.lang.Object
org.apache.drill.exec.record.metadata.RepeatedListBuilder

public class RepeatedListBuilder extends Object
Builder for a repeated list. Drill's metadata represents a repeated list as a chain of materialized fields and that is the pattern used here. It would certainly be cleaner to have a single field, with the number of dimensions as a property, but that is not how Drill evolved.

An instance can be created with and without parent container. In the first case, a column is added to the parent container during creation and all resumeXXX methods return qualified parent container. In the second case column is created without parent container as a stand-alone entity. The resumeXXX methods do not produce any action and return null. To access built column buildColumn() should be used.