public class DataSourceCompactionConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_COMPACTION_TASK_PRIORITY
Must be synced with Tasks.DEFAULT_MERGE_TASK_PRIORITY
|
| Constructor and Description |
|---|
DataSourceCompactionConfig(String dataSource,
Integer taskPriority,
Long inputSegmentSizeBytes,
Integer maxRowsPerSegment,
org.joda.time.Period skipOffsetFromLatest,
UserCompactionTaskQueryTuningConfig tuningConfig,
UserCompactionTaskGranularityConfig granularitySpec,
UserCompactionTaskDimensionsConfig dimensionsSpec,
AggregatorFactory[] metricsSpec,
UserCompactionTaskTransformConfig transformSpec,
UserCompactionTaskIOConfig ioConfig,
Map<String,Object> taskContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDataSource() |
UserCompactionTaskDimensionsConfig |
getDimensionsSpec() |
UserCompactionTaskGranularityConfig |
getGranularitySpec() |
long |
getInputSegmentSizeBytes() |
UserCompactionTaskIOConfig |
getIoConfig() |
Integer |
getMaxRowsPerSegment()
Deprecated.
|
AggregatorFactory[] |
getMetricsSpec() |
org.joda.time.Period |
getSkipOffsetFromLatest() |
Map<String,Object> |
getTaskContext() |
int |
getTaskPriority() |
UserCompactionTaskTransformConfig |
getTransformSpec() |
UserCompactionTaskQueryTuningConfig |
getTuningConfig() |
int |
hashCode() |
public static final int DEFAULT_COMPACTION_TASK_PRIORITY
public DataSourceCompactionConfig(String dataSource, @Nullable Integer taskPriority, @Nullable Long inputSegmentSizeBytes, @Deprecated @Nullable Integer maxRowsPerSegment, @Nullable org.joda.time.Period skipOffsetFromLatest, @Nullable UserCompactionTaskQueryTuningConfig tuningConfig, @Nullable UserCompactionTaskGranularityConfig granularitySpec, @Nullable UserCompactionTaskDimensionsConfig dimensionsSpec, @Nullable AggregatorFactory[] metricsSpec, @Nullable UserCompactionTaskTransformConfig transformSpec, @Nullable UserCompactionTaskIOConfig ioConfig, @Nullable Map<String,Object> taskContext)
public String getDataSource()
public int getTaskPriority()
public long getInputSegmentSizeBytes()
@Deprecated @Nullable public Integer getMaxRowsPerSegment()
public org.joda.time.Period getSkipOffsetFromLatest()
@Nullable public UserCompactionTaskQueryTuningConfig getTuningConfig()
@Nullable public UserCompactionTaskIOConfig getIoConfig()
@Nullable public UserCompactionTaskGranularityConfig getGranularitySpec()
@Nullable public UserCompactionTaskDimensionsConfig getDimensionsSpec()
@Nullable public UserCompactionTaskTransformConfig getTransformSpec()
@Nullable public AggregatorFactory[] getMetricsSpec()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.