mirror of https://github.com/apache/druid.git
move key
This commit is contained in:
parent
b1ab252b31
commit
de207c7295
|
@ -35,6 +35,7 @@ public interface DruidHook<T>
|
||||||
HookKey<RelNode> LOGICAL_PLAN = new HookKey<>("logicalPlan", RelNode.class);
|
HookKey<RelNode> LOGICAL_PLAN = new HookKey<>("logicalPlan", RelNode.class);
|
||||||
HookKey<RelNode> DRUID_PLAN = new HookKey<>("druidPlan", RelNode.class);
|
HookKey<RelNode> DRUID_PLAN = new HookKey<>("druidPlan", RelNode.class);
|
||||||
HookKey<String> SQL = new HookKey<>("sql", String.class);
|
HookKey<String> SQL = new HookKey<>("sql", String.class);
|
||||||
|
HookKey<String> MSQ_PLAN = new HookKey<>("msqPlan", String.class);
|
||||||
|
|
||||||
@Immutable
|
@Immutable
|
||||||
class HookKey<T>
|
class HookKey<T>
|
||||||
|
@ -71,6 +72,5 @@ public interface DruidHook<T>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
HookKey<String> MSQ_PLAN = new HookKey<>("msqPlan", String.class);
|
|
||||||
void invoke(HookKey<T> key, T object);
|
void invoke(HookKey<T> key, T object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue