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

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

public abstract class QueryResult
extends java.lang.Object


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

Constructor Detail

QueryResult

public QueryResult()
Method Detail

getType

public void getType()

getTypeAsString

public abstract java.lang.String getTypeAsString()

getLongestTypeAsSpaceString

public java.lang.String getLongestTypeAsSpaceString()

getPreparedTypeAsString

public java.lang.String getPreparedTypeAsString()

nested

public ActivationRecord nested()

getNumberOfResults

public abstract int getNumberOfResults()

getNextResultAt

public abstract QueryResult getNextResultAt(int i)

addResult

public QueryResult addResult(QueryResult result)
                      throws java.lang.RuntimeException

getSize

public int getSize()

getResultAt

public QueryResult getResultAt(int i)

setResultAt

public void setResultAt(int i,
                        QueryResult r)

addStruct

public QueryResult addStruct(QueryResult str)

addBag

public QueryResult addBag(QueryResult bag)

addSequence

public QueryResult addSequence(QueryResult seq)

operatorDEREFERENCE

public QueryResult operatorDEREFERENCE()
                                throws TypeMismatchException

operatorFULLDEREFERENCE

public QueryResult operatorFULLDEREFERENCE()
                                    throws TypeMismatchException

operatorSPECIALDEREFERENCE

public QueryResult operatorSPECIALDEREFERENCE()
                                       throws TypeMismatchException

operatorMIXEDDEREFERENCE

public QueryResult operatorMIXEDDEREFERENCE()
                                     throws TypeMismatchException

operatorPLUS

public QueryResult operatorPLUS(QueryResult r)
                         throws TypeMismatchException

operatorPLUS

public QueryResult operatorPLUS()
                         throws TypeMismatchException

operatorMINUS

public QueryResult operatorMINUS(QueryResult r)
                          throws TypeMismatchException

operatorMINUS

public QueryResult operatorMINUS()
                          throws TypeMismatchException

operatorTIMES

public QueryResult operatorTIMES(QueryResult r)
                          throws TypeMismatchException

operatorDIVIDE

public QueryResult operatorDIVIDE(QueryResult r)
                           throws TypeMismatchException

operatorEQUAL

public BooleanValue operatorEQUAL(QueryResult r)
                           throws TypeMismatchException

operatorNOTEQUAL

public BooleanValue operatorNOTEQUAL(QueryResult r)
                              throws TypeMismatchException

operatorGREATER

public BooleanValue operatorGREATER(QueryResult r)
                             throws TypeMismatchException

operatorLOWER

public BooleanValue operatorLOWER(QueryResult r)
                           throws TypeMismatchException

operatorGREATEREQUAL

public BooleanValue operatorGREATEREQUAL(QueryResult r)
                                  throws TypeMismatchException

operatorLOWEREQUAL

public BooleanValue operatorLOWEREQUAL(QueryResult r)
                                throws TypeMismatchException

operatorCONJUNCTION

public BooleanValue operatorCONJUNCTION(QueryResult r)
                                 throws TypeMismatchException

operatorDISJUNCTION

public BooleanValue operatorDISJUNCTION(QueryResult r)
                                 throws TypeMismatchException

operatorNEGATION

public BooleanValue operatorNEGATION()
                              throws TypeMismatchException

operatorEXISTS

public BooleanValue operatorEXISTS()
                            throws TypeMismatchException

operatorMODULO

public QueryResult operatorMODULO(QueryResult r)
                           throws TypeMismatchException

operatorPOWER

public QueryResult operatorPOWER(QueryResult r)
                          throws TypeMismatchException

operatorSQUAREROOT

public QueryResult operatorSQUAREROOT()
                               throws TypeMismatchException

operatorABSOLUTEVALUE

public QueryResult operatorABSOLUTEVALUE()
                                  throws TypeMismatchException

operatorSINE

public QueryResult operatorSINE()
                         throws TypeMismatchException

operatorCOSINE

public QueryResult operatorCOSINE()
                           throws TypeMismatchException

operatorEXPONENT

public QueryResult operatorEXPONENT()
                             throws TypeMismatchException

operatorLOGARITHM

public QueryResult operatorLOGARITHM()
                              throws TypeMismatchException

operatorCOUNT

public QueryResult operatorCOUNT()
                          throws TypeMismatchException

operatorSUM

public QueryResult operatorSUM()
                        throws TypeMismatchException

operatorAVERAGE

public QueryResult operatorAVERAGE()
                            throws TypeMismatchException

operatorMINIMUM

public QueryResult operatorMINIMUM()
                            throws TypeMismatchException

operatorMAXIMUM

public QueryResult operatorMAXIMUM()
                            throws TypeMismatchException

operatorSIGNUM

public QueryResult operatorSIGNUM()
                           throws TypeMismatchException

operatorAS

public QueryResult operatorAS(QueryResult r)
                       throws TypeMismatchException

operatorGROUPAS

public BinderValue operatorGROUPAS(QueryResult r)
                            throws TypeMismatchException

operatorCOMMA

public QueryResult operatorCOMMA(QueryResult r)
                          throws TypeMismatchException

operatorINCLUSION

public BooleanValue operatorINCLUSION(QueryResult r)
                               throws TypeMismatchException

operatorUNION

public QueryResult operatorUNION(QueryResult r)
                          throws TypeMismatchException

operatorINTERSECTION

public QueryResult operatorINTERSECTION(QueryResult r)
                                 throws TypeMismatchException

operatorDIFFERENCE

public QueryResult operatorDIFFERENCE(QueryResult r)
                               throws TypeMismatchException

operatorSYMMETRICDIFFERENCE

public QueryResult operatorSYMMETRICDIFFERENCE(QueryResult r)
                                        throws TypeMismatchException

operatorSTRUCT

public QueryResult operatorSTRUCT()
                           throws TypeMismatchException

operatorBAG

public QueryResult operatorBAG()
                        throws TypeMismatchException

operatorSEQUENCE

public QueryResult operatorSEQUENCE()
                             throws TypeMismatchException

operatorUNIQUE

public QueryResult operatorUNIQUE()
                           throws TypeMismatchException

operatorCONDITION

public QueryResult operatorCONDITION(QueryResult l,
                                     QueryResult r)
                              throws TypeMismatchException

operatorRANGE

public QueryResult operatorRANGE(QueryResult l,
                                 QueryResult r)
                          throws TypeMismatchException

operatorRANGE

public QueryResult operatorRANGE(QueryResult r)
                          throws TypeMismatchException

operatorCOMPARE

public BooleanValue operatorCOMPARE(QueryResult r)
                             throws TypeMismatchException

operatorASCENDING

public QueryResult operatorASCENDING()
                              throws TypeMismatchException

operatorDESCENDING

public QueryResult operatorDESCENDING()
                               throws TypeMismatchException

operatorASSIGN

public QueryResult operatorASSIGN(QueryResult r)
                           throws TypeMismatchException

operatorPLUSASSIGN

public QueryResult operatorPLUSASSIGN(QueryResult r)
                               throws TypeMismatchException

operatorMINUSASSIGN

public QueryResult operatorMINUSASSIGN(QueryResult r)
                                throws TypeMismatchException

operatorTIMESASSIGN

public QueryResult operatorTIMESASSIGN(QueryResult r)
                                throws TypeMismatchException

operatorDIVIDEASSIGN

public QueryResult operatorDIVIDEASSIGN(QueryResult r)
                                 throws TypeMismatchException

operatorMODULOASSIGN

public QueryResult operatorMODULOASSIGN(QueryResult r)
                                 throws TypeMismatchException

operatorPREINCREMENT

public QueryResult operatorPREINCREMENT()
                                 throws TypeMismatchException

operatorPREDECREMENT

public QueryResult operatorPREDECREMENT()
                                 throws TypeMismatchException

operatorDELETE

public void operatorDELETE(EnvironmentalStack ENVS)
                    throws TypeMismatchException

operatorPRINT

public void operatorPRINT(java.io.PrintWriter out)
                   throws TypeMismatchException

operatorPRINT

public void operatorPRINT(java.lang.String st,
                          java.io.PrintWriter out)
                   throws TypeMismatchException

operatorXMLPRINT

public void operatorXMLPRINT(java.io.PrintWriter out)
                      throws TypeMismatchException

operatorXMLPRINT

public void operatorXMLPRINT(java.lang.String st,
                             java.io.PrintWriter out)
                      throws TypeMismatchException

show

public abstract void show(java.lang.String st,
                          java.io.PrintWriter out)

show

public void show(java.io.PrintWriter out)

operatorRENAMETO

public void operatorRENAMETO(QueryResult r,
                             EnvironmentalStack ENVS)
                      throws TypeMismatchException

operatorINSERTINTO

public void operatorINSERTINTO(QueryResult r,
                               EnvironmentalStack ENVS)
                        throws TypeMismatchException

operatorUPDATETO

public void operatorUPDATETO(QueryResult r)
                      throws TypeMismatchException

operatorINSERT

public QueryResult operatorINSERT(QueryResult r,
                                  EnvironmentalStack ENVS)
                           throws TypeMismatchException

operatorCREATELOCAL

public QueryResult operatorCREATELOCAL(EnvironmentalStack ENVS)
                                throws TypeMismatchException

operatorCREATEPERMANENT

public QueryResult operatorCREATEPERMANENT(IdentifierValue iv)
                                    throws TypeMismatchException

operatorCREATEPERMANENT

public void operatorCREATEPERMANENT(EnvironmentalStack ENVS)
                             throws TypeMismatchException

operatorFLAT

public QueryResult operatorFLAT()
                         throws TypeMismatchException

operatorTOSTRUCT

public StructValue operatorTOSTRUCT()
                             throws TypeMismatchException

operatorTOBAG

public BagValue operatorTOBAG()
                       throws TypeMismatchException

operatorTOSEQUENCE

public SequenceValue operatorTOSEQUENCE()
                                 throws TypeMismatchException

operatorTOSTRING

public StringValue operatorTOSTRING()
                             throws TypeMismatchException

operatorTOINTEGER

public IntegerValue operatorTOINTEGER()
                               throws TypeMismatchException

operatorTODOUBLE

public DoubleValue operatorTODOUBLE()
                             throws TypeMismatchException