Package | Description |
---|---|
org.apache.pig.newplan.logical.expression |
Modifier and Type | Class and Description |
---|---|
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 |
MapLookupExpression |
class |
ProjectExpression
Projection of columns in an expression.
|
Copyright © 2007-2012 The Apache Software Foundation