|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pig.newplan.logical.rules.OptimizerUtils
public class OptimizerUtils
| Constructor Summary | |
|---|---|
OptimizerUtils()
|
|
| Method Summary | |
|---|---|
static LOGenerate |
findGenerate(LOForEach foreach)
Find generate op from the foreach operator. |
static boolean |
hasFlatten(LOForEach foreach)
Helper method to find if a given LOForEach instance contains any flatten fields. |
static boolean |
hasFlatten(LOGenerate gen)
Check if a given LOGenerate operator has any flatten fields. |
static boolean |
planHasNonDeterministicUdf(LogicalExpressionPlan filterPlan)
Helper method to determine if the logical expression plan for a Filter contains non-deterministic operations and should therefore be treated extra carefully during optimization. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OptimizerUtils()
| Method Detail |
|---|
public static LOGenerate findGenerate(LOForEach foreach)
foreach - the LOForEach instance
public static boolean hasFlatten(LOGenerate gen)
gen - the given LOGenerate instance
public static boolean hasFlatten(LOForEach foreach)
foreach - foreach the LOForEach instance
public static boolean planHasNonDeterministicUdf(LogicalExpressionPlan filterPlan)
throws FrontendException
filterPlan -
FrontendException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||