Class IndexSpec

java.lang.Object
org.apache.druid.segment.IndexSpec

public class IndexSpec extends Object
IndexSpec defines segment storage format options to be used at indexing time, such as bitmap type, and column compression formats.

IndexSpec is specified as part of the TuningConfig for the corresponding index task. Fields which are not explicitly defined by the operator default to null values, callers must call getEffectiveSpec() to fill in these null values, which will replace nulls first with any system defaults defined in getDefault() falling back to hard coded defaults.