Package org.apache.calcite.linq4j.tree
Class ParameterExpression
- java.lang.Object
-
- org.apache.calcite.linq4j.tree.AbstractNode
-
- org.apache.calcite.linq4j.tree.Expression
-
- org.apache.calcite.linq4j.tree.ParameterExpression
-
- All Implemented Interfaces:
Node
public class ParameterExpression extends Expression
Represents a named parameter expression.
-
-
Field Summary
Fields Modifier and Type Field Description intmodifierStringnameprivate static AtomicIntegerSEQ-
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
-
Constructor Summary
Constructors Constructor Description ParameterExpression(int modifier, Type type, String name)ParameterExpression(Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaccept(ExpressionWriter writer, int lprec, int rprec)Expressionaccept(Shuttle shuttle)<R> Raccept(Visitor<R> visitor)(package private) StringdeclString()(package private) StringdeclString(Type type)booleanequals(Object o)Objectevaluate(Evaluator evaluator)inthashCode()-
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, accept0, getNodeType, getType, toString
-
Methods inherited from class org.apache.calcite.linq4j.tree.Expression
canReduce
-
-
-
-
Field Detail
-
SEQ
private static final AtomicInteger SEQ
-
modifier
public final int modifier
-
name
public final String name
-
-
Method Detail
-
accept
public Expression accept(Shuttle shuttle)
- Specified by:
acceptin interfaceNode- Specified by:
acceptin classExpression
-
accept
public <R> R accept(Visitor<R> visitor)
-
evaluate
public Object evaluate(Evaluator evaluator)
- Overrides:
evaluatein classAbstractNode
-
accept
void accept(ExpressionWriter writer, int lprec, int rprec)
- Overrides:
acceptin classAbstractNode
-
declString
String declString()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractNode
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractNode
-
-