public class LogicalPlan extends BaseOperatorPlan
fromEdges, log, ops, softFromEdges, softToEdges, toEdges
Constructor and Description |
---|
LogicalPlan() |
LogicalPlan(LogicalPlan other) |
Modifier and Type | Method and Description |
---|---|
void |
explain(java.io.PrintStream ps,
java.lang.String format,
boolean verbose) |
Operator |
findByAlias(java.lang.String alias) |
java.lang.String |
getHash()
Used for Navigator integration - returns MD5 hash constructed from lp
|
java.lang.String |
getSignature()
Returns the signature of the LogicalPlan.
|
boolean |
isEqual(OperatorPlan other)
Equality is checked by calling equals on every leaf in the plan.
|
void |
optimize(PigContext pigContext) |
void |
validate(PigContext pigContext,
java.lang.String scope,
boolean skipInputOutputValidation) |
add, connect, connect, createSoftLink, disconnect, getOperators, getPredecessors, getSinks, getSoftLinkPredecessors, getSoftLinkSuccessors, getSources, getSuccessors, insertBetween, isConnected, isEqual, moveTree, pathExists, remove, removeAndReconnect, removeSoftLink, replace, size, toString, trimBelow
public LogicalPlan(LogicalPlan other)
public LogicalPlan()
public boolean isEqual(OperatorPlan other) throws FrontendException
isEqual
in interface OperatorPlan
isEqual
in class BaseOperatorPlan
other
- object to compareFrontendException
public void explain(java.io.PrintStream ps, java.lang.String format, boolean verbose) throws FrontendException
explain
in class BaseOperatorPlan
FrontendException
public Operator findByAlias(java.lang.String alias)
public java.lang.String getSignature() throws FrontendException
FrontendException
- if signature can't be computedpublic java.lang.String getHash() throws FrontendException
FrontendException
public void validate(PigContext pigContext, java.lang.String scope, boolean skipInputOutputValidation) throws FrontendException
FrontendException
public void optimize(PigContext pigContext) throws FrontendException
FrontendException
Copyright © 2007-2017 The Apache Software Foundation