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

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.QueryResult
        |
        +--pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.SingleValue
              |
              +--pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.AtomicValue
                    |
                    +--pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.IntegerValue

public class IntegerValue
extends AtomicValue


Constructor Summary
IntegerValue(double value)
           
IntegerValue(int value)
           
IntegerValue(java.lang.Integer value)
           
 
Method Summary
 double getdoubleValue()
           
 int getintValue()
           
 java.lang.String getstringValue()
           
 java.lang.String getTypeAsString()
           
 java.lang.Integer getValue()
           
 java.lang.String getValueAsString()
           
 QueryResult operatorABSOLUTEVALUE()
           
 QueryResult operatorAVERAGE()
           
 BooleanValue operatorCOMPARE(QueryResult r)
           
 QueryResult operatorCOSINE()
           
 QueryResult operatorDESCENDING()
           
 QueryResult operatorDIVIDE(QueryResult r)
           
 BooleanValue operatorEQUAL(QueryResult r)
           
 QueryResult operatorEXPONENT()
           
 BooleanValue operatorGREATER(QueryResult r)
           
 BooleanValue operatorGREATEREQUAL(QueryResult r)
           
 QueryResult operatorLOGARITHM()
           
 BooleanValue operatorLOWER(QueryResult r)
           
 BooleanValue operatorLOWEREQUAL(QueryResult r)
           
 QueryResult operatorMAXIMUM()
           
 QueryResult operatorMINIMUM()
           
 QueryResult operatorMINUS()
           
 QueryResult operatorMINUS(QueryResult r)
           
 QueryResult operatorMODULO(QueryResult r)
           
 BooleanValue operatorNOTEQUAL(QueryResult r)
           
 QueryResult operatorPLUS()
           
 QueryResult operatorPLUS(QueryResult r)
           
 QueryResult operatorPOWER(QueryResult r)
           
 QueryResult operatorSIGNUM()
           
 QueryResult operatorSINE()
           
 QueryResult operatorSQUAREROOT()
           
 QueryResult operatorSUM()
           
 QueryResult operatorTIMES(QueryResult r)
           
 DoubleValue operatorTODOUBLE()
           
 IntegerValue operatorTOINTEGER()
           
 StringValue operatorTOSTRING()
           
 
Methods inherited from class pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.AtomicValue
operatorDEREFERENCE, operatorFULLDEREFERENCE, operatorMIXEDDEREFERENCE, operatorPRINT, operatorSPECIALDEREFERENCE, operatorXMLPRINT, show
 
Methods inherited from class pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.SingleValue
getNextResultAt, getNumberOfResults, operatorAS, operatorASCENDING, operatorBAG, operatorCOMMA, operatorCOUNT, operatorEXISTS, operatorFLAT, operatorGROUPAS, operatorINCLUSION, operatorSEQUENCE, operatorSTRUCT, operatorUNION, operatorUNIQUE
 
Methods inherited from class pl.edu.pjwstk.yaod.sbql.engine.queryresulttypes.QueryResult
addBag, addResult, addSequence, addStruct, getLongestTypeAsSpaceString, getPreparedTypeAsString, getResultAt, getSize, getType, nested, operatorASSIGN, operatorCONDITION, operatorCONJUNCTION, operatorCREATELOCAL, operatorCREATEPERMANENT, operatorCREATEPERMANENT, operatorDELETE, operatorDIFFERENCE, operatorDISJUNCTION, operatorDIVIDEASSIGN, operatorINSERT, operatorINSERTINTO, operatorINTERSECTION, operatorMINUSASSIGN, operatorMODULOASSIGN, operatorNEGATION, operatorPLUSASSIGN, operatorPREDECREMENT, operatorPREINCREMENT, operatorPRINT, operatorRANGE, operatorRANGE, operatorRENAMETO, operatorSYMMETRICDIFFERENCE, operatorTIMESASSIGN, operatorTOBAG, operatorTOSEQUENCE, operatorTOSTRUCT, operatorUPDATETO, operatorXMLPRINT, setResultAt, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerValue

public IntegerValue(java.lang.Integer value)

IntegerValue

public IntegerValue(int value)

IntegerValue

public IntegerValue(double value)
Method Detail

getTypeAsString

public java.lang.String getTypeAsString()
Overrides:
getTypeAsString in class QueryResult

getValueAsString

public java.lang.String getValueAsString()
Overrides:
getValueAsString in class AtomicValue

getValue

public java.lang.Integer getValue()

getintValue

public int getintValue()

getdoubleValue

public double getdoubleValue()

getstringValue

public java.lang.String getstringValue()

operatorPLUS

public QueryResult operatorPLUS(QueryResult r)
                         throws TypeMismatchException
Overrides:
operatorPLUS in class QueryResult

operatorPLUS

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

operatorMINUS

public QueryResult operatorMINUS(QueryResult r)
                          throws TypeMismatchException
Overrides:
operatorMINUS in class QueryResult

operatorMINUS

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

operatorTIMES

public QueryResult operatorTIMES(QueryResult r)
                          throws TypeMismatchException
Overrides:
operatorTIMES in class QueryResult

operatorDIVIDE

public QueryResult operatorDIVIDE(QueryResult r)
                           throws TypeMismatchException
Overrides:
operatorDIVIDE in class QueryResult

operatorEQUAL

public BooleanValue operatorEQUAL(QueryResult r)
                           throws TypeMismatchException
Overrides:
operatorEQUAL in class QueryResult

operatorNOTEQUAL

public BooleanValue operatorNOTEQUAL(QueryResult r)
                              throws TypeMismatchException
Overrides:
operatorNOTEQUAL in class QueryResult

operatorGREATER

public BooleanValue operatorGREATER(QueryResult r)
                             throws TypeMismatchException
Overrides:
operatorGREATER in class QueryResult

operatorLOWER

public BooleanValue operatorLOWER(QueryResult r)
                           throws TypeMismatchException
Overrides:
operatorLOWER in class QueryResult

operatorLOWEREQUAL

public BooleanValue operatorLOWEREQUAL(QueryResult r)
                                throws TypeMismatchException
Overrides:
operatorLOWEREQUAL in class QueryResult

operatorGREATEREQUAL

public BooleanValue operatorGREATEREQUAL(QueryResult r)
                                  throws TypeMismatchException
Overrides:
operatorGREATEREQUAL in class QueryResult

operatorMODULO

public QueryResult operatorMODULO(QueryResult r)
                           throws TypeMismatchException
Overrides:
operatorMODULO in class QueryResult

operatorPOWER

public QueryResult operatorPOWER(QueryResult r)
                          throws TypeMismatchException
Overrides:
operatorPOWER in class QueryResult

operatorSQUAREROOT

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

operatorABSOLUTEVALUE

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

operatorSIGNUM

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

operatorSINE

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

operatorCOSINE

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

operatorEXPONENT

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

operatorLOGARITHM

public QueryResult operatorLOGARITHM()
                              throws TypeMismatchException
Overrides:
operatorLOGARITHM 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

operatorCOMPARE

public BooleanValue operatorCOMPARE(QueryResult r)
                             throws TypeMismatchException
Overrides:
operatorCOMPARE in class QueryResult

operatorDESCENDING

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

operatorTOSTRING

public StringValue operatorTOSTRING()
                             throws TypeMismatchException
Overrides:
operatorTOSTRING in class QueryResult

operatorTOINTEGER

public IntegerValue operatorTOINTEGER()
                               throws TypeMismatchException
Overrides:
operatorTOINTEGER in class QueryResult

operatorTODOUBLE

public DoubleValue operatorTODOUBLE()
                             throws TypeMismatchException
Overrides:
operatorTODOUBLE in class QueryResult