dsql.parser
Class ASTInOp

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

public class ASTInOp
extends ASTSetOperator

In operator: e.g $x in $y. can check for scalar values, records or tables


Field Summary
 
Fields inherited from class dsql.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTInOp(int id)
           
ASTInOp(Parser p, int id)
           
 
Method Summary
 Value execute()
          Execute a Node
protected  Value executeRecord(ColumnHolder rec)
           
protected  Value executeScalar(java.lang.String v1s)
           
protected  Value executeTable(TableResult t1)
           
 
Methods inherited from class dsql.parser.ASTSetOperator
createNewTable, createNewTableHash, insertNew
 
Methods inherited from class dsql.parser.ASTBinaryOperator
getString, priority
 
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

ASTInOp

public ASTInOp(int id)

ASTInOp

public ASTInOp(Parser p,
               int id)
Method Detail

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

executeScalar

protected Value executeScalar(java.lang.String v1s)
                       throws ExecuteException
Throws:
ExecuteException

executeRecord

protected Value executeRecord(ColumnHolder rec)
                       throws ExecuteException
Throws:
ExecuteException

executeTable

protected Value executeTable(TableResult t1)
                      throws ExecuteException
Throws:
ExecuteException