public class UserFuncExpression extends LogicalExpression
fieldSchema, uidOnlyFieldSchema
Constructor and Description |
---|
UserFuncExpression(OperatorPlan plan,
FuncSpec funcSpec) |
UserFuncExpression(OperatorPlan plan,
FuncSpec funcSpec,
boolean viaDefine) |
UserFuncExpression(OperatorPlan plan,
FuncSpec funcSpec,
java.util.List<LogicalExpression> args) |
UserFuncExpression(OperatorPlan plan,
FuncSpec funcSpec,
java.util.List<LogicalExpression> args,
boolean viaDefine) |
UserFuncExpression(OperatorPlan plan,
FuncSpec funcSpec,
java.util.List<LogicalExpression> args,
boolean viaDefine,
boolean lazilyInitializeInvokerFunction,
boolean invokerIsStatic,
java.lang.String packageName,
java.lang.String funcName) |
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<LogicalExpression> |
getArguments() |
EvalFunc<?> |
getEvalFunc() |
LogicalSchema.LogicalFieldSchema |
getFieldSchema()
Get the field schema for the output of this expression operator.
|
FuncSpec |
getFuncSpec() |
java.lang.String |
getSignature() |
boolean |
isDeterministic() |
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
boolean |
isViaDefine() |
void |
setFuncSpec(FuncSpec funcSpec) |
java.lang.String |
toString() |
getNextUid, getType, hasFieldSchema, neverUseForRealSetFieldSchema, resetFieldSchema, resetNextUid, resetUid
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan
public UserFuncExpression(OperatorPlan plan, FuncSpec funcSpec)
public UserFuncExpression(OperatorPlan plan, FuncSpec funcSpec, java.util.List<LogicalExpression> args)
public UserFuncExpression(OperatorPlan plan, FuncSpec funcSpec, boolean viaDefine)
public UserFuncExpression(OperatorPlan plan, FuncSpec funcSpec, java.util.List<LogicalExpression> args, boolean viaDefine)
public UserFuncExpression(OperatorPlan plan, FuncSpec funcSpec, java.util.List<LogicalExpression> args, boolean viaDefine, boolean lazilyInitializeInvokerFunction, boolean invokerIsStatic, java.lang.String packageName, java.lang.String funcName)
public FuncSpec getFuncSpec()
public void accept(PlanVisitor v) throws FrontendException
Operator
accept
in class Operator
v
- Visitor to accept.FrontendException
public boolean isEqual(Operator other) throws FrontendException
Operator
isEqual
in class Operator
FrontendException
public boolean isDeterministic() throws FrontendException
FrontendException
public java.util.List<LogicalExpression> getArguments() throws FrontendException
FrontendException
public void setFuncSpec(FuncSpec funcSpec)
funcSpec
- the FuncSpec to setpublic 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.lang.String toString()
toString
in class LogicalExpression
public java.lang.String getSignature()
public boolean isViaDefine()
public EvalFunc<?> getEvalFunc()
Copyright © 2007-2017 The Apache Software Foundation