public abstract class RoutingRule extends Object
| Constructor and Description |
|---|
RoutingRule() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
apply(List<Candidate> candidates) |
static void |
applyRules(List<Candidate> candidates) |
protected List<Integer> |
findRealizationsOf(List<org.apache.kylin.metadata.realization.IRealization> realizations,
org.apache.kylin.metadata.realization.RealizationType type) |
static String |
getPrintableText(List<Candidate> candidates) |
static void |
registerRule(RoutingRule rule,
int applyOrder) |
static void |
removeRule(RoutingRule rule) |
String |
toString() |
public static void registerRule(RoutingRule rule, int applyOrder)
rule - applyOrder - RoutingRule are applied in order, latter rules can override previous rulespublic static void removeRule(RoutingRule rule)
protected List<Integer> findRealizationsOf(List<org.apache.kylin.metadata.realization.IRealization> realizations, org.apache.kylin.metadata.realization.RealizationType type)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.