Class ReindexingDataSchemaRule

java.lang.Object
org.apache.druid.server.compaction.AbstractReindexingRule
org.apache.druid.server.compaction.ReindexingDataSchemaRule
All Implemented Interfaces:
ReindexingRule

public class ReindexingDataSchemaRule extends AbstractReindexingRule
A ReindexingRule that specifies a data schema for reindexing tasks to configure.

This rule allows users to specify dimensionsspec metricsspec, query granularity, rollup, and projections for reindexing tasks to apply

This is a non-additive rule. Multiple data schema rules cannot be applied to the same interval being reindexed.

Example inline usage:

{@code
 {
   "id": "change-query-granularity-30d",
   "olderThan": "P30D",
   "queryGranularity": "HOUR",
   "rollup": true
 }</pre>