unity.functions
Class Modulus

java.lang.Object
  extended by unity.functions.Expression
      extended by unity.functions.Modulus

public class Modulus
extends Expression


Constructor Summary
Modulus(Expression leftExpr, Expression rightExpr)
           
 
Method Summary
 java.lang.Object evaluate(Tuple t)
           
 java.lang.String toString(Relation relation)
           
 
Methods inherited from class unity.functions.Expression
computeType, getAttributeIndexReferences, getChild, getExprLocs, getNumChildren, getParent, getReturnType, hasChildren, setParent, setReturnType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Modulus

public Modulus(Expression leftExpr,
               Expression rightExpr)
        throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

evaluate

public java.lang.Object evaluate(Tuple t)
Specified by:
evaluate in class Expression

toString

public java.lang.String toString(Relation relation)
Overrides:
toString in class Expression