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,
Map<String,Object> taskContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDataSource() |
long |
getInputSegmentSizeBytes() |
Integer |
getMaxRowsPerSegment() |
org.joda.time.Period |
getSkipOffsetFromLatest() |
Map<String,Object> |
getTaskContext() |
int |
getTaskPriority() |
UserCompactionTaskQueryTuningConfig |
getTuningConfig() |
int |
hashCode() |
public static final int DEFAULT_COMPACTION_TASK_PRIORITY
public DataSourceCompactionConfig(String dataSource, @Nullable Integer taskPriority, @Nullable Long inputSegmentSizeBytes, @Nullable Integer maxRowsPerSegment, @Nullable org.joda.time.Period skipOffsetFromLatest, @Nullable UserCompactionTaskQueryTuningConfig tuningConfig, @Nullable Map<String,Object> taskContext)
public String getDataSource()
public int getTaskPriority()
public long getInputSegmentSizeBytes()
public org.joda.time.Period getSkipOffsetFromLatest()
@Nullable public UserCompactionTaskQueryTuningConfig getTuningConfig()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.