public class DereferenceExpression extends ColumnExpression
fieldSchema, uidOnlyFieldSchema
Constructor and Description |
---|
DereferenceExpression(OperatorPlan plan) |
DereferenceExpression(OperatorPlan plan,
int colNum) |
DereferenceExpression(OperatorPlan plan,
java.util.List<java.lang.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.
|
java.util.List<java.lang.Integer> |
getBagColumns() |
LogicalSchema.LogicalFieldSchema |
getFieldSchema()
Get the field schema for the output of this expression operator.
|
java.util.List<java.lang.Object> |
getRawColumns() |
LogicalExpression |
getReferredExpression() |
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
void |
setBagColumns(java.util.List<java.lang.Integer> columns) |
void |
setRawColumns(java.util.List<java.lang.Object> cols) |
java.lang.String |
toString() |
getNextUid, getType, hasFieldSchema, neverUseForRealSetFieldSchema, resetFieldSchema, resetNextUid, resetUid
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan
public DereferenceExpression(OperatorPlan plan)
public DereferenceExpression(OperatorPlan plan, int colNum)
public DereferenceExpression(OperatorPlan plan, java.util.List<java.lang.Integer> columnNums)
public void setRawColumns(java.util.List<java.lang.Object> cols)
public void accept(PlanVisitor v) throws FrontendException
Operator
accept
in class Operator
v
- Visitor to accept.FrontendException
public java.util.List<java.lang.Integer> getBagColumns()
public void setBagColumns(java.util.List<java.lang.Integer> columns)
public boolean isEqual(Operator other) throws FrontendException
Operator
isEqual
in class Operator
FrontendException
public LogicalExpression getReferredExpression() throws FrontendException
FrontendException
public java.lang.String toString()
toString
in class LogicalExpression
public LogicalSchema.LogicalFieldSchema getFieldSchema() throws FrontendException
LogicalExpression
getFieldSchema
in class LogicalExpression
FrontendException
public LogicalExpression deepCopy(LogicalExpressionPlan lgExpPlan) throws FrontendException
LogicalExpression
deepCopy
in class LogicalExpression
lgExpPlan
- LogicalExpressionPlan in which this expression will be added.FrontendException
public java.util.List<java.lang.Object> getRawColumns()
Copyright © 2007-2017 The Apache Software Foundation