|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.optimizer.relational.rules.JoinUtil
public class JoinUtil
Utility methods for query planning related to joins.
In some cases, a query plan can be made more optimal via a few possible criteria/join optimizations.
| Method Summary | |
|---|---|
static JoinType |
getJoinTypePreventingCriteriaOptimization(PlanNode joinNode,
java.util.Set<GroupSymbol> groups)
|
static boolean |
isNullDependent(QueryMetadataInterface metadata,
java.util.Collection<GroupSymbol> innerGroups,
Criteria crit)
Returns true if the given criteria can be anything other than false (or unknown) given all null values for elements in the inner groups |
static boolean |
isNullDependent(QueryMetadataInterface metadata,
java.util.Collection<GroupSymbol> innerGroups,
Expression expr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isNullDependent(QueryMetadataInterface metadata,
java.util.Collection<GroupSymbol> innerGroups,
Criteria crit)
public static boolean isNullDependent(QueryMetadataInterface metadata,
java.util.Collection<GroupSymbol> innerGroups,
Expression expr)
public static JoinType getJoinTypePreventingCriteriaOptimization(PlanNode joinNode,
java.util.Set<GroupSymbol> groups)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||