Class InlineSchemaDataSourceCompactionConfig.Builder
java.lang.Object
org.apache.druid.server.coordinator.InlineSchemaDataSourceCompactionConfig.Builder
- Enclosing class:
- InlineSchemaDataSourceCompactionConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()forDataSource(String dataSource) withDimensionsSpec(UserCompactionTaskDimensionsConfig dimensionsSpec) withEngine(CompactionEngine engine) withGranularitySpec(UserCompactionTaskGranularityConfig granularitySpec) withInputSegmentSizeBytes(Long inputSegmentSizeBytes) withIoConfig(UserCompactionTaskIOConfig ioConfig) withMaxRowsPerSegment(Integer maxRowsPerSegment) Deprecated.withMetricsSpec(AggregatorFactory[] metricsSpec) withProjections(List<AggregateProjectionSpec> projections) withSkipOffsetFromLatest(org.joda.time.Period skipOffsetFromLatest) withTaskContext(Map<String, Object> taskContext) withTaskPriority(Integer taskPriority) withTransformSpec(CompactionTransformSpec transformSpec) withTuningConfig(UserCompactionTaskQueryTuningConfig tuningConfig)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
forDataSource
-
withTaskPriority
-
withInputSegmentSizeBytes
public InlineSchemaDataSourceCompactionConfig.Builder withInputSegmentSizeBytes(Long inputSegmentSizeBytes) -
withMaxRowsPerSegment
@Deprecated public InlineSchemaDataSourceCompactionConfig.Builder withMaxRowsPerSegment(Integer maxRowsPerSegment) Deprecated. -
withSkipOffsetFromLatest
public InlineSchemaDataSourceCompactionConfig.Builder withSkipOffsetFromLatest(org.joda.time.Period skipOffsetFromLatest) -
withTuningConfig
public InlineSchemaDataSourceCompactionConfig.Builder withTuningConfig(UserCompactionTaskQueryTuningConfig tuningConfig) -
withGranularitySpec
public InlineSchemaDataSourceCompactionConfig.Builder withGranularitySpec(UserCompactionTaskGranularityConfig granularitySpec) -
withDimensionsSpec
public InlineSchemaDataSourceCompactionConfig.Builder withDimensionsSpec(UserCompactionTaskDimensionsConfig dimensionsSpec) -
withMetricsSpec
public InlineSchemaDataSourceCompactionConfig.Builder withMetricsSpec(AggregatorFactory[] metricsSpec) -
withTransformSpec
public InlineSchemaDataSourceCompactionConfig.Builder withTransformSpec(CompactionTransformSpec transformSpec) -
withProjections
public InlineSchemaDataSourceCompactionConfig.Builder withProjections(List<AggregateProjectionSpec> projections) -
withIoConfig
public InlineSchemaDataSourceCompactionConfig.Builder withIoConfig(UserCompactionTaskIOConfig ioConfig) -
withEngine
-
withTaskContext
public InlineSchemaDataSourceCompactionConfig.Builder withTaskContext(Map<String, Object> taskContext)
-