edu.cmu.aura.service.query.expression
Class Operator

java.lang.Object
  |
  +--edu.cmu.aura.service.query.expression.Operator
Direct Known Subclasses:
BooleanOperator, LeafOperator

public abstract class Operator
extends java.lang.Object

FIXME


Field Summary
static int FALSE
           
static int TRUE
           
static int UNKNOWN
           
 
Constructor Summary
Operator()
           
 
Method Summary
 boolean eval(boolean b1)
           
 boolean eval(boolean b1, boolean b2)
           
 int eval(int b1)
           
 int eval(int b1, int b2)
           
 boolean eval(java.lang.Object o1)
           
 int eval(java.lang.Object o1, java.util.ArrayList ncAttribs)
           
 boolean eval(java.lang.Object o1, java.lang.Object o2)
           
 int eval(java.lang.Object o1, java.lang.Object o2, java.util.ArrayList ncAttribs)
           
abstract  boolean isUnary()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static final int TRUE

FALSE

public static final int FALSE

UNKNOWN

public static final int UNKNOWN
Constructor Detail

Operator

public Operator()
Method Detail

eval

public boolean eval(java.lang.Object o1,
                    java.lang.Object o2)
             throws EvaluationException

eval

public boolean eval(java.lang.Object o1)
             throws EvaluationException

eval

public boolean eval(boolean b1,
                    boolean b2)
             throws EvaluationException

eval

public boolean eval(boolean b1)
             throws EvaluationException

eval

public int eval(int b1,
                int b2)
         throws EvaluationException

eval

public int eval(int b1)
         throws EvaluationException

eval

public int eval(java.lang.Object o1,
                java.lang.Object o2,
                java.util.ArrayList ncAttribs)
         throws EvaluationException

eval

public int eval(java.lang.Object o1,
                java.util.ArrayList ncAttribs)
         throws EvaluationException

isUnary

public abstract boolean isUnary()