public class ConstantExpression extends Expression
Modifier and Type | Field and Description |
---|---|
Object |
value |
nodeType, type
Constructor and Description |
---|
ConstantExpression(Type type,
Object value) |
Modifier and Type | Method and Description |
---|---|
Expression |
accept(Visitor visitor) |
boolean |
equals(Object o) |
Object |
evaluate(net.hydromatic.linq4j.expressions.Evaluator evaluator) |
int |
hashCode() |
canReduce
accept, getNodeType, getType, toString
public final Object value
public Object evaluate(net.hydromatic.linq4j.expressions.Evaluator evaluator)
evaluate
in class AbstractNode
public Expression accept(Visitor visitor)
accept
in interface Node
accept
in class Expression
public boolean equals(Object o)
equals
in class AbstractNode
public int hashCode()
hashCode
in class AbstractNode
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.