pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes
Class ComplexValue

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.QueryResult
        |
        +--pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.ComplexValue
Direct Known Subclasses:
BagValue, SequenceValue, StructValue

public abstract class ComplexValue
extends QueryResult


Field Summary
 java.util.Vector results
           
 
Constructor Summary
ComplexValue()
           
ComplexValue(java.util.Vector v)
           
 
Method Summary
 QueryResult addBag(QueryResult bag)
           
 QueryResult addResult(QueryResult result)
           
 QueryResult addSequence(QueryResult seq)
           
 QueryResult addStruct(QueryResult str)
           
 QueryResult getFirstResult()
           
 QueryResult getNextResultAt(int i)
           
 int getNumberOfResults()
           
 QueryResult getResultAt(int i)
           
 java.util.Vector getResults()
           
 int getSize()
           
 void insertResultAt(QueryResult r, int i)
           
 boolean isEmpty()
           
 QueryResult operatorASCENDING()
           
 QueryResult operatorAVERAGE()
           
 QueryResult operatorCOUNT()
           
 QueryResult operatorCREATELOCAL(EnvironmentalStack ENVS)
           
 void operatorCREATEPERMANENT(EnvironmentalStack ENVS)
           
 QueryResult operatorCREATEPERMANENT(IdentifierValue iv)
           
 void operatorDELETE(EnvironmentalStack ENVS)
           
 QueryResult operatorDEREFERENCE()
           
 BooleanValue operatorEXISTS()
           
 QueryResult operatorFLAT()
           
 QueryResult operatorFULLDEREFERENCE()
           
 BinderValue operatorGROUPAS(QueryResult r)
           
 void operatorINSERTINTO(QueryResult r, EnvironmentalStack ENVS)
           
 QueryResult operatorMAXIMUM()
           
 QueryResult operatorMINIMUM()
           
 QueryResult operatorMIXEDDEREFERENCE()
           
 void operatorPRINT(java.lang.String st, java.io.PrintWriter out)
           
 void operatorRENAMETO(QueryResult r, EnvironmentalStack ENVS)
           
 QueryResult operatorSPECIALDEREFERENCE()
           
 QueryResult operatorSUM()
           
 BagValue operatorTOBAG()
           
 SequenceValue operatorTOSEQUENCE()
           
 StructValue operatorTOSTRUCT()
           
 void operatorUPDATETO(QueryResult r)
           
 void operatorXMLPRINT(java.lang.String st, java.io.PrintWriter out)
           
 QueryResult removeResultAt(int i)
           
 void replaceResults(int i, int j)
           
 void setResultAt(int i, QueryResult r)
           
 void show(java.lang.String st, java.io.PrintWriter out)
           
 
Methods inherited from class pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.QueryResult
getLongestTypeAsSpaceString, getPreparedTypeAsString, getType, getTypeAsString, nested, operatorABSOLUTEVALUE, operatorAS, operatorASSIGN, operatorBAG, operatorCOMMA, operatorCOMPARE, operatorCONDITION, operatorCONJUNCTION, operatorCOSINE, operatorDESCENDING, operatorDIFFERENCE, operatorDISJUNCTION, operatorDIVIDE, operatorDIVIDEASSIGN, operatorEQUAL, operatorEXPONENT, operatorGREATER, operatorGREATEREQUAL, operatorINCLUSION, operatorINSERT, operatorINTERSECTION, operatorLOGARITHM, operatorLOWER, operatorLOWEREQUAL, operatorMINUS, operatorMINUS, operatorMINUSASSIGN, operatorMODULO, operatorMODULOASSIGN, operatorNEGATION, operatorNOTEQUAL, operatorPLUS, operatorPLUS, operatorPLUSASSIGN, operatorPOWER, operatorPREDECREMENT, operatorPREINCREMENT, operatorPRINT, operatorRANGE, operatorRANGE, operatorSEQUENCE, operatorSIGNUM, operatorSINE, operatorSQUAREROOT, operatorSTRUCT, operatorSYMMETRICDIFFERENCE, operatorTIMES, operatorTIMESASSIGN, operatorTODOUBLE, operatorTOINTEGER, operatorTOSTRING, operatorUNION, operatorUNIQUE, operatorXMLPRINT, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

results

public java.util.Vector results
Constructor Detail

ComplexValue

public ComplexValue()

ComplexValue

public ComplexValue(java.util.Vector v)
Method Detail

getResultAt

public QueryResult getResultAt(int i)
Overrides:
getResultAt in class QueryResult

removeResultAt

public QueryResult removeResultAt(int i)

insertResultAt

public void insertResultAt(QueryResult r,
                           int i)

setResultAt

public void setResultAt(int i,
                        QueryResult r)
Overrides:
setResultAt in class QueryResult

replaceResults

public void replaceResults(int i,
                           int j)

getSize

public int getSize()
Overrides:
getSize in class QueryResult

addResult

public QueryResult addResult(QueryResult result)
Overrides:
addResult in class QueryResult

isEmpty

public boolean isEmpty()

getFirstResult

public QueryResult getFirstResult()

getResults

public java.util.Vector getResults()

getNumberOfResults

public int getNumberOfResults()
Overrides:
getNumberOfResults in class QueryResult

getNextResultAt

public QueryResult getNextResultAt(int i)
Overrides:
getNextResultAt in class QueryResult

addBag

public QueryResult addBag(QueryResult bag)
Overrides:
addBag in class QueryResult

addSequence

public QueryResult addSequence(QueryResult seq)
Overrides:
addSequence in class QueryResult

addStruct

public QueryResult addStruct(QueryResult str)
Overrides:
addStruct in class QueryResult

operatorDEREFERENCE

public QueryResult operatorDEREFERENCE()
                                throws TypeMismatchException
Overrides:
operatorDEREFERENCE in class QueryResult

operatorFULLDEREFERENCE

public QueryResult operatorFULLDEREFERENCE()
                                    throws TypeMismatchException
Overrides:
operatorFULLDEREFERENCE in class QueryResult

operatorSPECIALDEREFERENCE

public QueryResult operatorSPECIALDEREFERENCE()
                                       throws TypeMismatchException
Overrides:
operatorSPECIALDEREFERENCE in class QueryResult

operatorMIXEDDEREFERENCE

public QueryResult operatorMIXEDDEREFERENCE()
                                     throws TypeMismatchException
Overrides:
operatorMIXEDDEREFERENCE in class QueryResult

show

public void show(java.lang.String st,
                 java.io.PrintWriter out)
Overrides:
show in class QueryResult

operatorPRINT

public void operatorPRINT(java.lang.String st,
                          java.io.PrintWriter out)
                   throws TypeMismatchException
Overrides:
operatorPRINT in class QueryResult

operatorXMLPRINT

public void operatorXMLPRINT(java.lang.String st,
                             java.io.PrintWriter out)
                      throws TypeMismatchException
Overrides:
operatorXMLPRINT in class QueryResult

operatorCOUNT

public QueryResult operatorCOUNT()
                          throws TypeMismatchException
Overrides:
operatorCOUNT in class QueryResult

operatorEXISTS

public BooleanValue operatorEXISTS()
                            throws TypeMismatchException
Overrides:
operatorEXISTS in class QueryResult

operatorSUM

public QueryResult operatorSUM()
                        throws TypeMismatchException
Overrides:
operatorSUM in class QueryResult

operatorAVERAGE

public QueryResult operatorAVERAGE()
                            throws TypeMismatchException
Overrides:
operatorAVERAGE in class QueryResult

operatorMINIMUM

public QueryResult operatorMINIMUM()
                            throws TypeMismatchException
Overrides:
operatorMINIMUM in class QueryResult

operatorMAXIMUM

public QueryResult operatorMAXIMUM()
                            throws TypeMismatchException
Overrides:
operatorMAXIMUM in class QueryResult

operatorFLAT

public QueryResult operatorFLAT()
                         throws TypeMismatchException
Overrides:
operatorFLAT in class QueryResult

operatorTOSTRUCT

public StructValue operatorTOSTRUCT()
                             throws TypeMismatchException
Overrides:
operatorTOSTRUCT in class QueryResult

operatorTOBAG

public BagValue operatorTOBAG()
                       throws TypeMismatchException
Overrides:
operatorTOBAG in class QueryResult

operatorTOSEQUENCE

public SequenceValue operatorTOSEQUENCE()
                                 throws TypeMismatchException
Overrides:
operatorTOSEQUENCE in class QueryResult

operatorGROUPAS

public BinderValue operatorGROUPAS(QueryResult r)
                            throws TypeMismatchException
Overrides:
operatorGROUPAS in class QueryResult

operatorASCENDING

public QueryResult operatorASCENDING()
                              throws TypeMismatchException
Overrides:
operatorASCENDING in class QueryResult

operatorDELETE

public void operatorDELETE(EnvironmentalStack ENVS)
                    throws TypeMismatchException
Overrides:
operatorDELETE in class QueryResult

operatorRENAMETO

public void operatorRENAMETO(QueryResult r,
                             EnvironmentalStack ENVS)
                      throws TypeMismatchException
Overrides:
operatorRENAMETO in class QueryResult

operatorINSERTINTO

public void operatorINSERTINTO(QueryResult r,
                               EnvironmentalStack ENVS)
                        throws TypeMismatchException
Overrides:
operatorINSERTINTO in class QueryResult

operatorUPDATETO

public void operatorUPDATETO(QueryResult r)
                      throws TypeMismatchException
Overrides:
operatorUPDATETO in class QueryResult

operatorCREATELOCAL

public QueryResult operatorCREATELOCAL(EnvironmentalStack ENVS)
                                throws TypeMismatchException
Overrides:
operatorCREATELOCAL in class QueryResult

operatorCREATEPERMANENT

public QueryResult operatorCREATEPERMANENT(IdentifierValue iv)
                                    throws TypeMismatchException
Overrides:
operatorCREATEPERMANENT in class QueryResult

operatorCREATEPERMANENT

public void operatorCREATEPERMANENT(EnvironmentalStack ENVS)
                             throws TypeMismatchException
Overrides:
operatorCREATEPERMANENT in class QueryResult