dsql.parser
Class ASTSetOperator

java.lang.Object
  extended bydsql.parser.SimpleNode
      extended bydsql.parser.DMNode
          extended bydsql.parser.ASTBinaryOperator
              extended bydsql.parser.ASTSetOperator
All Implemented Interfaces:
Node
Direct Known Subclasses:
ASTDiff, ASTInOp, ASTInter, ASTSetMinus, ASTUnion

public abstract class ASTSetOperator
extends ASTBinaryOperator


Field Summary
 
Fields inherited from class dsql.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTSetOperator(int id)
           
ASTSetOperator(Parser p, int id)
           
 
Method Summary
protected  ConstructedTable createNewTable(TableResult t1)
           
protected  ConstructedTableHash createNewTableHash(TableResult t1, TableResult t2)
           
protected  void insertNew(ConstructedTableHash t1, TableResult t2)
          insert only new records of t2 into t1
 
Methods inherited from class dsql.parser.ASTBinaryOperator
getString, priority
 
Methods inherited from class dsql.parser.DMNode
execute, 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

ASTSetOperator

public ASTSetOperator(int id)

ASTSetOperator

public ASTSetOperator(Parser p,
                      int id)
Method Detail

createNewTable

protected ConstructedTable createNewTable(TableResult t1)
                                   throws ExecuteException
Throws:
ExecuteException

createNewTableHash

protected ConstructedTableHash createNewTableHash(TableResult t1,
                                                  TableResult t2)
                                           throws ExecuteException
Throws:
ExecuteException

insertNew

protected void insertNew(ConstructedTableHash t1,
                         TableResult t2)
                  throws ExecuteException
insert only new records of t2 into t1

Throws:
ExecuteException