Package org.apache.calcite.linq4j.tree
Class FunctionExpression<F extends Function<?>>
java.lang.Object
org.apache.calcite.linq4j.tree.AbstractNode
org.apache.calcite.linq4j.tree.Expression
org.apache.calcite.linq4j.tree.LambdaExpression
org.apache.calcite.linq4j.tree.FunctionExpression<F>
- Type Parameters:
F
- Function type
- All Implemented Interfaces:
Node
Represents a strongly typed lambda expression as a data structure in the form
of an expression tree. This class cannot be inherited.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Function that can be invoked with a variable number of arguments. -
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable BlockStatement
final @Nullable F
final List<ParameterExpression>
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
Constructor Summary
ConstructorDescriptionFunctionExpression
(F function) FunctionExpression
(Class<F> type, BlockStatement body, List<ParameterExpression> parameters) -
Method Summary
Methods inherited from class org.apache.calcite.linq4j.tree.Expression
canReduce
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, evaluate, getNodeType, getType, toString
-
Field Details
-
function
-
body
-
parameterList
-
-
Constructor Details
-
FunctionExpression
-
FunctionExpression
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceNode
- Overrides:
accept
in classLambdaExpression
-
accept
- Specified by:
accept
in interfaceNode
- Overrides:
accept
in classLambdaExpression
-
compile
-
getFunction
-
equals
- Overrides:
equals
in classAbstractNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractNode
-