@PublicEvolving public final class UnresolvedCallExpression extends Object implements Expression
FunctionDefinition
.
This is a purely API facing expression with unvalidated arguments and unknown output data type.
A unresolved call contains:
FunctionDefinition
that identifies the function to be calledFunctionIdentifier
that tracks the origin of a functionConstructor and Description |
---|
UnresolvedCallExpression(FunctionDefinition functionDefinition,
List<Expression> args) |
UnresolvedCallExpression(FunctionIdentifier functionIdentifier,
FunctionDefinition functionDefinition,
List<Expression> args) |
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() |
int |
hashCode() |
UnresolvedCallExpression |
replaceArgs(List<Expression> args) |
CallExpression |
resolve(List<ResolvedExpression> args,
DataType dataType) |
String |
toString() |
public UnresolvedCallExpression(FunctionIdentifier functionIdentifier, FunctionDefinition functionDefinition, List<Expression> args)
public UnresolvedCallExpression(FunctionDefinition functionDefinition, List<Expression> args)
public Optional<FunctionIdentifier> getFunctionIdentifier()
public FunctionDefinition getFunctionDefinition()
public UnresolvedCallExpression replaceArgs(List<Expression> args)
public CallExpression resolve(List<ResolvedExpression> args, DataType dataType)
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–2020 The Apache Software Foundation. All rights reserved.