Package org.apache.druid.segment
Class IndexSpec.Builder
java.lang.Object
org.apache.druid.segment.IndexSpec.Builder
- Enclosing class:
IndexSpec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withAutoColumnFormatSpec(NestedCommonFormatColumnFormatSpec autoColumnFormatSpec) withBitmapSerdeFactory(BitmapSerdeFactory bitmapSerdeFactory) withComplexMetricCompression(CompressionStrategy complexMetricCompression) withDimensionCompression(CompressionStrategy dimensionCompression) withJsonCompression(CompressionStrategy jsonCompression) Deprecated.withLongEncoding(CompressionFactory.LongEncodingStrategy longEncoding) withMetricCompression(CompressionStrategy metricCompression) withSegmentLoader(SegmentizerFactory segmentLoader) withStringDictionaryEncoding(StringEncodingStrategy stringDictionaryEncoding)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withBitmapSerdeFactory
-
withDimensionCompression
public IndexSpec.Builder withDimensionCompression(@Nullable CompressionStrategy dimensionCompression) -
withStringDictionaryEncoding
public IndexSpec.Builder withStringDictionaryEncoding(@Nullable StringEncodingStrategy stringDictionaryEncoding) -
withMetricCompression
-
withComplexMetricCompression
public IndexSpec.Builder withComplexMetricCompression(@Nullable CompressionStrategy complexMetricCompression) -
withLongEncoding
public IndexSpec.Builder withLongEncoding(@Nullable CompressionFactory.LongEncodingStrategy longEncoding) -
withJsonCompression
@Deprecated public IndexSpec.Builder withJsonCompression(@Nullable CompressionStrategy jsonCompression) Deprecated. -
withSegmentLoader
-
withAutoColumnFormatSpec
public IndexSpec.Builder withAutoColumnFormatSpec(@Nullable NestedCommonFormatColumnFormatSpec autoColumnFormatSpec) -
build
-