Package | Description |
---|---|
org.apache.pig.newplan | |
org.apache.pig.newplan.logical.expression | |
org.apache.pig.newplan.logical.rules | |
org.apache.pig.parser |
Modifier and Type | Field and Description |
---|---|
protected LogicalExpression |
FilterExtractor.filterExpr
Final filterExpr after we are done
|
Modifier and Type | Method and Description |
---|---|
protected LogicalExpression |
FilterExtractor.addToFilterPlan(LogicalExpression op) |
Modifier and Type | Method and Description |
---|---|
protected LogicalExpression |
FilterExtractor.addToFilterPlan(LogicalExpression op) |
protected FilterExtractor.KeyState |
FilterExtractor.checkPushDown(LogicalExpression op) |
Expression |
FilterExtractor.getExpression(LogicalExpression op) |
Modifier and Type | Class and Description |
---|---|
class |
AddExpression
Add Operator
|
class |
AndExpression
Boolean and expression.
|
class |
BinaryExpression
Superclass for all binary expressions
|
class |
BinCondExpression |
class |
CastExpression |
class |
ColumnExpression
Super class for all column expressions, including projection, constants, and deferences.
|
class |
ConstantExpression
A constant
|
class |
DereferenceExpression
get one or elements out of a tuple or a bag
in case of Tuple( a#2:int, b#3:bag{ b_a#4:int, b_b#5:float }, c#6:int ) # 1
(the number after # represents the uid)
Dereference ( 0 ) --> a:int
- dereference of single column in a tuple gives the field
Dereference ( 0,2 ) --> Tuple(a#2:int, c#6:int) #7
- dereference of more than one column gives a tuple
Dereference ( 1 ) --> Dereference ( 1 ) --> b:bag{b_b#5:float}#8
- dereference of a bag gives a bag
|
class |
DivideExpression
Divide Operator
|
class |
EqualExpression
Equality test expression.
|
class |
GreaterThanEqualExpression |
class |
GreaterThanExpression |
class |
IsNullExpression |
class |
LessThanEqualExpression |
class |
LessThanExpression |
class |
MapLookupExpression |
class |
ModExpression
Mod Operator
|
class |
MultiplyExpression
Multiply Operator
|
class |
NegativeExpression |
class |
NotEqualExpression
NotEquality test expression.
|
class |
NotExpression |
class |
OrExpression
Boolean OR Expression
|
class |
ProjectExpression
Projection of columns in an expression.
|
class |
RegexExpression
Regex Operator
|
class |
ScalarExpression |
class |
SubtractExpression
Subtract Operator
|
class |
UnaryExpression
Superclass for all unary expressions
|
class |
UserFuncExpression |
Modifier and Type | Method and Description |
---|---|
LogicalExpression |
UserFuncExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
SubtractExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
ScalarExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
RegexExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
ProjectExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
OrExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
NotExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
NotEqualExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
NegativeExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
MultiplyExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
ModExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
MapLookupExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
abstract LogicalExpression |
LogicalExpression.deepCopy(LogicalExpressionPlan lgExpPlan)
Create the deep copy of this expression and add that into the passed
LogicalExpressionPlan Return the copy of this expression with updated
logical expression plan.
|
LogicalExpression |
LessThanExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
LessThanEqualExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
IsNullExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
GreaterThanExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
GreaterThanEqualExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
EqualExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
DivideExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
DereferenceExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
ConstantExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
CastExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
BinCondExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
AndExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
AddExpression.deepCopy(LogicalExpressionPlan lgExpPlan) |
LogicalExpression |
BinCondExpression.getCondition()
Returns the operator which handles this condition
|
LogicalExpression |
UnaryExpression.getExpression()
Get the expression that this unary expression operators on.
|
LogicalExpression |
BinaryExpression.getLhs()
Get the left hand side of this binary expression.
|
LogicalExpression |
BinCondExpression.getLhs()
Get the left hand side of this expression.
|
LogicalExpression |
MapLookupExpression.getMap() |
LogicalExpression |
DereferenceExpression.getReferredExpression() |
LogicalExpression |
BinaryExpression.getRhs()
Get the right hand side of this binary expression.
|
LogicalExpression |
BinCondExpression.getRhs()
Get the right hand side of this expression.
|
Modifier and Type | Method and Description |
---|---|
List<LogicalExpression> |
UserFuncExpression.getArguments() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AllSameExpressionVisitor.execute(LogicalExpression op)
Method to call on every node in the logical expression plan.
|
void |
ConstantExpression.inheritSchema(LogicalExpression expr) |
Constructor and Description |
---|
AddExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
AndExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
BinaryExpression(String name,
OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
BinCondExpression(OperatorPlan plan,
LogicalExpression condition,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators and the condition operator
|
CastExpression(OperatorPlan plan,
LogicalExpression exp,
LogicalSchema.LogicalFieldSchema fs) |
DivideExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
EqualExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
GreaterThanEqualExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
GreaterThanExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
IsNullExpression(OperatorPlan plan,
LogicalExpression exp) |
LessThanEqualExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
LessThanExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
ModExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
MultiplyExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
NegativeExpression(OperatorPlan plan,
LogicalExpression exp) |
NotEqualExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
NotExpression(OperatorPlan plan,
LogicalExpression exp) |
OrExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
RegexExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
SubtractExpression(OperatorPlan plan,
LogicalExpression lhs,
LogicalExpression rhs)
Will add this operator to the plan and connect it to the
left and right hand side operators.
|
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.
|
Constructor and Description |
---|
UserFuncExpression(OperatorPlan plan,
FuncSpec funcSpec,
List<LogicalExpression> args) |
UserFuncExpression(OperatorPlan plan,
FuncSpec funcSpec,
List<LogicalExpression> args,
boolean viaDefine) |
UserFuncExpression(OperatorPlan plan,
FuncSpec funcSpec,
List<LogicalExpression> args,
boolean viaDefine,
boolean lazilyInitializeInvokerFunction,
boolean invokerIsStatic,
String packageName,
String funcName) |
Modifier and Type | Method and Description |
---|---|
protected void |
ConstantCalculator.ConstantCalculatorTransformer.ConstantCalculatorExpressionVisitor.execute(LogicalExpression op) |
Modifier and Type | Method and Description |
---|---|
LogicalExpression |
NonProjectExpressionException.getExpression() |
Constructor and Description |
---|
NonProjectExpressionException(org.antlr.runtime.IntStream input,
SourceLocation loc,
LogicalExpression expr) |
Copyright © 2007-2017 The Apache Software Foundation