dsql.parser
Class ASTLtOp

java.lang.Object
  extended bydsql.parser.SimpleNode
      extended bydsql.parser.DMNode
          extended bydsql.parser.ASTBinaryOperator
              extended bydsql.parser.ASTLtOp
All Implemented Interfaces:
Node

public class ASTLtOp
extends ASTBinaryOperator

Less than (numeric), e.g. $x lt 42 or $x lte 42


Field Summary
 
Fields inherited from class dsql.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTLtOp(int id)
          Constructor for Parser
ASTLtOp(Parser p, int id)
          Constructor for Parser
 
Method Summary
 Value execute()
          Execute a Node
protected  int priority()
          operators priority: * /, + - ||, = lt gt, AND OR
 void setOrEquals()
           
 
Methods inherited from class dsql.parser.ASTBinaryOperator
getString
 
Methods inherited from class dsql.parser.DMNode
executeArgument, executeArgumentAsClass, executeArgumentColumnHolder, executeArgumentNonNull, executeArgumentRecordHolder, executeArgumentTable, executeWithCatch, executeXML, getArgument, getCaller, getDsqlParent, getLine, getRoot, hasArgument, jjtInsertFirstChild, jjtSetChild, setCaller, setLine
 
Methods inherited from class dsql.parser.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTLtOp

public ASTLtOp(int id)
Constructor for Parser


ASTLtOp

public ASTLtOp(Parser p,
               int id)
Constructor for Parser

Method Detail

setOrEquals

public void setOrEquals()

priority

protected int priority()
Description copied from class: ASTBinaryOperator
operators priority: * /, + - ||, = lt gt, AND OR

Overrides:
priority in class ASTBinaryOperator

execute

public Value execute()
              throws ExecuteException
Description copied from class: DMNode
Execute a Node

Specified by:
execute in class DMNode
Throws:
ExecuteException - If an error occurs during execution