org.objectweb.speedo.query.lib
Class QueriesUnion

java.lang.Object
  extended byorg.objectweb.speedo.query.lib.QueriesUnion

public class QueriesUnion
extends java.lang.Object

Is in charge of making the union of Medor query. This union is hidden behind the TupleCollection interface, but the TupleStructure is variable.

Author:
S.Chassande-Barrioz

Constructor Summary
QueriesUnion(ParameterOperand[] pos, ProxyManager pm, java.lang.Object connection, QueryEvalContext[] qecs)
           
 
Method Summary
 void close()
           
 void first()
           
 TupleStructure getMetaData()
           
 int getRow()
           
 Tuple getTuple()
           
 Tuple getTuple(int row)
           
 boolean isEmpty()
           
 boolean isLast()
           
 boolean next()
           
 boolean row(int row)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueriesUnion

public QueriesUnion(ParameterOperand[] pos,
                    ProxyManager pm,
                    java.lang.Object connection,
                    QueryEvalContext[] qecs)
             throws MedorException
Method Detail

next

public boolean next()
             throws MedorException
Throws:
MedorException

first

public void first()
           throws MedorException
Throws:
MedorException

getTuple

public Tuple getTuple()
               throws MedorException
Throws:
MedorException

isEmpty

public boolean isEmpty()
                throws MedorException
Throws:
MedorException

close

public void close()
           throws MedorException
Throws:
MedorException

getMetaData

public TupleStructure getMetaData()
                           throws MedorException
Throws:
MedorException

isLast

public boolean isLast()
               throws MedorException
Throws:
MedorException

getTuple

public Tuple getTuple(int row)
               throws MedorException
Throws:
MedorException

row

public boolean row(int row)
            throws MedorException
Throws:
MedorException

getRow

public int getRow()
           throws MedorException
Throws:
MedorException