org.tranql.ql
Class BinaryOperation
java.lang.Object
org.tranql.ql.AbstractNode
org.tranql.ql.BinaryOperation
- All Implemented Interfaces:
- java.io.Serializable, Node
public class BinaryOperation
- extends AbstractNode
This node is used in a where clause to represent a binary logical
comparison, arithmetic operation or a equivlency comparison. This
node expects two children a left value, expression or literal and
a right value, expression or literal.
left AND right
left + right
left <= right
- Version:
- $Revision: 138 $ $Date: 2004-10-21 05:52:45 +0200 (Thu, 21 Oct 2004) $
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
AND
|
static java.lang.String |
DIV
|
static java.lang.String |
EQ
|
static java.lang.String |
GE
|
static java.lang.String |
GT
|
static java.lang.String |
IN
|
static java.lang.String |
LE
|
static java.lang.String |
LT
|
static java.lang.String |
MINUS
|
static java.lang.String |
NE
|
static java.lang.String |
OR
|
static java.lang.String |
PLUS
|
static java.lang.String |
TIMES
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EQ
public static final java.lang.String EQ
- See Also:
- Constant Field Values
NE
public static final java.lang.String NE
- See Also:
- Constant Field Values
LT
public static final java.lang.String LT
- See Also:
- Constant Field Values
LE
public static final java.lang.String LE
- See Also:
- Constant Field Values
GT
public static final java.lang.String GT
- See Also:
- Constant Field Values
GE
public static final java.lang.String GE
- See Also:
- Constant Field Values
AND
public static final java.lang.String AND
- See Also:
- Constant Field Values
OR
public static final java.lang.String OR
- See Also:
- Constant Field Values
PLUS
public static final java.lang.String PLUS
- See Also:
- Constant Field Values
MINUS
public static final java.lang.String MINUS
- See Also:
- Constant Field Values
TIMES
public static final java.lang.String TIMES
- See Also:
- Constant Field Values
DIV
public static final java.lang.String DIV
- See Also:
- Constant Field Values
IN
public static final java.lang.String IN
- See Also:
- Constant Field Values
BinaryOperation
public BinaryOperation(java.lang.String operation)
getOperation
public java.lang.String getOperation()
visit
public java.lang.Object visit(QueryVisitor visitor,
java.lang.Object param)
throws QueryException
- Throws:
QueryException
Copyright © -2010 The Codehaus. All Rights Reserved.