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, setFuncSpecgetNextUid, getType, hasFieldSchema, neverUseForRealSetFieldSchema, resetFieldSchema, resetNextUid, resetUidannotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlanpublic ScalarExpression(OperatorPlan plan)
public ScalarExpression(OperatorPlan plan, Operator implicitReferencedOperator, Operator attachedLogicalOperator)
public LogicalSchema.LogicalFieldSchema getFieldSchema() throws FrontendException
LogicalExpressiongetFieldSchema in class UserFuncExpressionFrontendExceptionpublic LogicalExpression deepCopy(LogicalExpressionPlan lgExpPlan) throws FrontendException
LogicalExpressiondeepCopy in class UserFuncExpressionlgExpPlan - LogicalExpressionPlan in which this expression will be added.FrontendExceptionpublic void accept(PlanVisitor v) throws FrontendException
Operatoraccept in class UserFuncExpressionv - Visitor to accept.FrontendExceptionpublic Operator getImplicitReferencedOperator()
public void setImplicitReferencedOperator(Operator implicitReferencedOperator)
public void setAttachedLogicalOperator(Operator attachedLogicalOperator)
public Operator getAttachedLogicalOperator()
public String toString()
toString in class UserFuncExpressionCopyright © 2007-2017 The Apache Software Foundation