public class LoptSemiJoinOptimizer extends Object
| Constructor and Description |
|---|
LoptSemiJoinOptimizer(LoptMultiJoin multiJoin,
RexBuilder rexBuilder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
chooseBestSemiJoin(LoptMultiJoin multiJoin)
Finds the optimal semijoin for filtering the least costly fact table from
among the remaining possible semijoins to choose from.
|
RelNode |
getChosenSemiJoin(int factIdx) |
void |
makePossibleSemiJoins(LoptMultiJoin multiJoin)
Determines all possible semijoins that can be used by dimension tables to
filter fact tables.
|
public LoptSemiJoinOptimizer(LoptMultiJoin multiJoin, RexBuilder rexBuilder)
public void makePossibleSemiJoins(LoptMultiJoin multiJoin)
multiJoin - join factors being optimizedpublic boolean chooseBestSemiJoin(LoptMultiJoin multiJoin)
multiJoin - join factors being optimizedpublic RelNode getChosenSemiJoin(int factIdx)
factIdx - index corresponding to the desired factorCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.