public class UserCompactionTaskGranularityConfig extends Object
GranularitySpec.
This is done for end-user ease of use. Basically, end-user will use the same syntax / JSON structure to set
Granularity configs for Auto Compaction as they would for any other ingestion task.
Note that this class is not the same as GranularitySpec. This class simply holds Granularity configs
and pass it to compaction task spec. This class does not do bucketing, group events or knows how to partition data.| Constructor and Description |
|---|
UserCompactionTaskGranularityConfig(Granularity segmentGranularity,
Granularity queryGranularity,
Boolean rollup) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Granularity |
getQueryGranularity() |
Granularity |
getSegmentGranularity() |
int |
hashCode() |
Boolean |
isRollup() |
String |
toString() |
public UserCompactionTaskGranularityConfig(Granularity segmentGranularity, Granularity queryGranularity, Boolean rollup)
public Granularity getSegmentGranularity()
public Granularity getQueryGranularity()
public Boolean isRollup()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.