public class ScalarExpression extends UserFuncExpression
fieldSchema, uidOnlyFieldSchema
Constructor and Description |
---|
ScalarExpression(OperatorPlan plan) |
ScalarExpression(OperatorPlan plan,
Operator implicitReferencedOperator,
Operator attachedLogicalOperator) |
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.
|
Operator |
getAttachedLogicalOperator() |
LogicalSchema.LogicalFieldSchema |
getFieldSchema()
Get the field schema for the output of this expression operator.
|
Operator |
getImplicitReferencedOperator() |
void |
setAttachedLogicalOperator(Operator attachedLogicalOperator) |
void |
setImplicitReferencedOperator(Operator implicitReferencedOperator) |
String |
toString() |
getArguments, getEvalFunc, getFuncSpec, getSignature, isDeterministic, isEqual, isViaDefine, setFuncSpec
getNextUid, getType, hasFieldSchema, neverUseForRealSetFieldSchema, resetFieldSchema, resetNextUid, resetUid
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan
public ScalarExpression(OperatorPlan plan)
public ScalarExpression(OperatorPlan plan, Operator implicitReferencedOperator, Operator attachedLogicalOperator)
public LogicalSchema.LogicalFieldSchema getFieldSchema() throws FrontendException
LogicalExpression
getFieldSchema
in class UserFuncExpression
FrontendException
public LogicalExpression deepCopy(LogicalExpressionPlan lgExpPlan) throws FrontendException
LogicalExpression
deepCopy
in class UserFuncExpression
lgExpPlan
- LogicalExpressionPlan in which this expression will be added.FrontendException
public void accept(PlanVisitor v) throws FrontendException
Operator
accept
in class UserFuncExpression
v
- Visitor to accept.FrontendException
public Operator getImplicitReferencedOperator()
public void setImplicitReferencedOperator(Operator implicitReferencedOperator)
public void setAttachedLogicalOperator(Operator attachedLogicalOperator)
public Operator getAttachedLogicalOperator()
public String toString()
toString
in class UserFuncExpression
Copyright © 2007-2017 The Apache Software Foundation