org.apache.pig.newplan.logical.expression
Class UnaryExpression
java.lang.Object
org.apache.pig.newplan.Operator
org.apache.pig.newplan.logical.expression.LogicalExpression
org.apache.pig.newplan.logical.expression.UnaryExpression
- Direct Known Subclasses:
- CastExpression, IsNullExpression, NegativeExpression, NotExpression
public abstract class UnaryExpression
- extends LogicalExpression
Superclass for all unary expressions
UnaryExpression
public UnaryExpression(String name,
OperatorPlan plan,
LogicalExpression exp)
- Will add this operator to the plan and connect it to the
left and right hand side operators.
- Parameters:
name
- of the operatorplan
- plan this operator is part ofexp
- expression that this expression operators on
getExpression
public LogicalExpression getExpression()
throws FrontendException
- Get the expression that this unary expression operators on.
- Returns:
- expression on the left hand side
- Throws:
FrontendException
Copyright © 2012 The Apache Software Foundation