public class DereferenceExpression extends ColumnExpression
fieldSchema, uidOnlyFieldSchema| Constructor and Description |
|---|
DereferenceExpression(OperatorPlan plan) |
DereferenceExpression(OperatorPlan plan,
int colNum) |
DereferenceExpression(OperatorPlan plan,
List<Integer> columnNums) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
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.
|
List<Integer> |
getBagColumns() |
LogicalSchema.LogicalFieldSchema |
getFieldSchema()
Get the field schema for the output of this expression operator.
|
List<Object> |
getRawColumns() |
LogicalExpression |
getReferredExpression() |
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
void |
setBagColumns(List<Integer> columns) |
void |
setRawColumns(List<Object> cols) |
String |
toString() |
getNextUid, getType, hasFieldSchema, neverUseForRealSetFieldSchema, resetFieldSchema, resetNextUid, resetUidannotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlanpublic DereferenceExpression(OperatorPlan plan)
public DereferenceExpression(OperatorPlan plan, int colNum)
public DereferenceExpression(OperatorPlan plan, List<Integer> columnNums)
public void accept(PlanVisitor v) throws FrontendException
Operatoraccept in class Operatorv - Visitor to accept.FrontendExceptionpublic boolean isEqual(Operator other) throws FrontendException
OperatorisEqual in class OperatorFrontendExceptionpublic LogicalExpression getReferredExpression() throws FrontendException
FrontendExceptionpublic String toString()
toString in class LogicalExpressionpublic LogicalSchema.LogicalFieldSchema getFieldSchema() throws FrontendException
LogicalExpressiongetFieldSchema in class LogicalExpressionFrontendExceptionpublic LogicalExpression deepCopy(LogicalExpressionPlan lgExpPlan) throws FrontendException
LogicalExpressiondeepCopy in class LogicalExpressionlgExpPlan - LogicalExpressionPlan in which this expression will be added.FrontendExceptionCopyright © 2007-2017 The Apache Software Foundation