@PublicEvolving public final class CallExpression extends Object implements ResolvedExpression
A call contains:
FunctionDefinition
that identifies the function to be called
ObjectIdentifier
that tracks the origin of a function
Constructor and Description |
---|
CallExpression(FunctionDefinition functionDefinition,
List<ResolvedExpression> args,
DataType dataType) |
CallExpression(FunctionIdentifier functionIdentifier,
FunctionDefinition functionDefinition,
List<ResolvedExpression> args,
DataType dataType) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(ExpressionVisitor<R> visitor) |
String |
asSummaryString()
Returns a string that summarizes this expression for printing to a console.
|
boolean |
equals(Object o) |
List<Expression> |
getChildren() |
FunctionDefinition |
getFunctionDefinition() |
Optional<FunctionIdentifier> |
getFunctionIdentifier() |
DataType |
getOutputDataType()
Returns the data type of the computation result.
|
List<ResolvedExpression> |
getResolvedChildren() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asSerializableString
public CallExpression(FunctionIdentifier functionIdentifier, FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType)
public CallExpression(FunctionDefinition functionDefinition, List<ResolvedExpression> args, DataType dataType)
public Optional<FunctionIdentifier> getFunctionIdentifier()
public FunctionDefinition getFunctionDefinition()
public DataType getOutputDataType()
ResolvedExpression
getOutputDataType
in interface ResolvedExpression
public List<ResolvedExpression> getResolvedChildren()
getResolvedChildren
in interface ResolvedExpression
public String asSummaryString()
Expression
asSummaryString
in interface Expression
public List<Expression> getChildren()
getChildren
in interface Expression
public <R> R accept(ExpressionVisitor<R> visitor)
accept
in interface Expression
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.