public class DataSourceCompactionConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TARGET_COMPACTION_SIZE_BYTES |
| Constructor and Description |
|---|
DataSourceCompactionConfig(String dataSource,
Boolean keepSegmentGranularity,
Integer taskPriority,
Long inputSegmentSizeBytes,
Long targetCompactionSizeBytes,
Integer maxNumSegmentsToCompact,
org.joda.time.Period skipOffsetFromLatest,
ClientCompactQueryTuningConfig tuningConfig,
Map<String,Object> taskContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDataSource() |
long |
getInputSegmentSizeBytes() |
int |
getMaxNumSegmentsToCompact() |
org.joda.time.Period |
getSkipOffsetFromLatest() |
long |
getTargetCompactionSizeBytes() |
Map<String,Object> |
getTaskContext() |
int |
getTaskPriority() |
ClientCompactQueryTuningConfig |
getTuningConfig() |
int |
hashCode() |
boolean |
isKeepSegmentGranularity() |
public static final long DEFAULT_TARGET_COMPACTION_SIZE_BYTES
public DataSourceCompactionConfig(String dataSource, Boolean keepSegmentGranularity, @Nullable Integer taskPriority, @Nullable Long inputSegmentSizeBytes, @Nullable Long targetCompactionSizeBytes, @Nullable Integer maxNumSegmentsToCompact, @Nullable org.joda.time.Period skipOffsetFromLatest, @Nullable ClientCompactQueryTuningConfig tuningConfig, @Nullable Map<String,Object> taskContext)
public String getDataSource()
public boolean isKeepSegmentGranularity()
public int getTaskPriority()
public long getInputSegmentSizeBytes()
public int getMaxNumSegmentsToCompact()
public long getTargetCompactionSizeBytes()
public org.joda.time.Period getSkipOffsetFromLatest()
@Nullable public ClientCompactQueryTuningConfig getTuningConfig()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.