public class SortCollapseRule
extends org.apache.calcite.plan.RelOptRule
SELECT * FROM (SELECT DISTINCT dim2 FROM druid.foo ORDER BY dim2) LIMIT 10
.Constructor and Description |
---|
SortCollapseRule() |
Modifier and Type | Method and Description |
---|---|
static SortCollapseRule |
instance() |
void |
onMatch(org.apache.calcite.plan.RelOptRuleCall call) |
public static SortCollapseRule instance()
public void onMatch(org.apache.calcite.plan.RelOptRuleCall call)
onMatch
in class org.apache.calcite.plan.RelOptRule
Copyright © 2011–2018. All rights reserved.