edu.cmu.aura.service.query.expression
Class LeafOperator
java.lang.Object
|
+--edu.cmu.aura.service.query.expression.Operator
|
+--edu.cmu.aura.service.query.expression.LeafOperator
- Direct Known Subclasses:
- OpEqual, OpGT, OpGTEQ, OpLT, OpLTEQ, OpNotEqual
- public abstract class LeafOperator
- extends Operator
FIXME - get rid of Literal class.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeafOperator
public LeafOperator()
eval
public int eval(Attribute attrib,
Literal literal,
java.util.ArrayList ncAttribs)
throws EvaluationException
eval
public boolean eval(Attribute attrib,
Literal literal)
throws EvaluationException
eval
public abstract boolean eval(java.lang.Object val1,
java.lang.Object val2)
throws EvaluationException
- Overrides:
eval in class Operator
isUnary
public boolean isUnary()
- Overrides:
isUnary in class Operator