|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pl.edu.pjwstk.yaod.yaql.engine.queryresulttypes.QueryResult | +--pl.edu.pjwstk.yaod.yaql.engine.queryresulttypes.ComplexValue | +--pl.edu.pjwstk.yaod.yaql.engine.queryresulttypes.BagValue
The BagValue
class represents the bag collections.
Fields inherited from class pl.edu.pjwstk.yaod.yaql.engine.queryresulttypes.ComplexValue |
results |
Constructor Summary | |
BagValue()
Creates a new empty bag collection. |
|
BagValue(QueryResult r)
Creates a new bag collection initialized with the r . |
|
BagValue(QueryResult r1,
QueryResult r2)
Creates a new bag collection initialized with the r1 and
r2 . |
|
BagValue(java.util.Vector v)
Creates a new bag collection initialized with the v . |
Method Summary | |
java.lang.String |
getTypeAsString()
Returns a name of the result ( QueryResult ) type. |
QueryResult |
operatorAS(QueryResult r)
Method responsible for unary as operation. |
QueryResult |
operatorBAG()
Method responsible for unary bag operation. |
QueryResult |
operatorCOMMA(QueryResult r)
Method responsible for binary comma operation. |
BooleanValue |
operatorCOMPARE(QueryResult r)
Method responsible for binary compare operation. |
QueryResult |
operatorDESCENDING()
Method responsible for unary descending operation. |
QueryResult |
operatorDIFFERENCE(QueryResult r)
Method responsible for binary difference operation. |
BooleanValue |
operatorINCLUSION(QueryResult r)
Method responsible for binary inclusion operation. |
QueryResult |
operatorINTERSECTION(QueryResult r)
Method responsible for binary intersection operation. |
QueryResult |
operatorSEQUENCE()
Method responsible for unary sequence operation. |
QueryResult |
operatorSTRUCT()
Method responsible for unary struct operation. |
QueryResult |
operatorSYMMETRICDIFFERENCE(QueryResult r)
Method responsible for binary symmetric difference operation. |
QueryResult |
operatorUNION(QueryResult r)
Method responsible for binary union operation. |
QueryResult |
operatorUNIQUE()
Method responsible for unary unique operation. |
Methods inherited from class pl.edu.pjwstk.yaod.yaql.engine.queryresulttypes.ComplexValue |
addBag, addResult, addSequence, addStruct, getFirstResult, getNextResultAt, getNumberOfResults, getResultAt, getResults, getSize, isEmpty, operatorASCENDING, operatorAVERAGE, operatorCOUNT, operatorCREATE, operatorCREATE, operatorCREATELOCAL, operatorCREATELOCAL, operatorCREATEPERMANENT, operatorCREATEPERMANENT, operatorDELETE, operatorDEREFERENCE, operatorEXISTS, operatorFULLDEREFERENCE, operatorGROUPAS, operatorINSERTINTO, operatorMAXIMUM, operatorMINIMUM, operatorMIXEDDEREFERENCE, operatorPRINT, operatorRENAMETO, operatorSPECIALDEREFERENCE, operatorSUM, operatorTOBAG, operatorTOSEQUENCE, operatorTOSINGLE, 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 |
public BagValue()
public BagValue(java.util.Vector v)
v
.v
- vector of elements.public BagValue(QueryResult r)
r
.r
- any result.QueryResult
public BagValue(QueryResult r1, QueryResult r2)
r1
and
r2
.r1
- any result.r2
- any result.QueryResult
Method Detail |
public java.lang.String getTypeAsString()
QueryResult
) type.getTypeAsString
in class QueryResult
QueryResult
public QueryResult operatorSTRUCT() throws TypeMismatchException
operatorSTRUCT
in class QueryResult
TypeMismatchException
- if type mismatch occurs.QueryResult
public QueryResult operatorBAG() throws TypeMismatchException
operatorBAG
in class QueryResult
TypeMismatchException
- if type mismatch occurs.QueryResult
public QueryResult operatorSEQUENCE() throws TypeMismatchException
operatorSEQUENCE
in class QueryResult
TypeMismatchException
- if type mismatch occurs.QueryResult
public QueryResult operatorUNIQUE() throws TypeMismatchException
operatorUNIQUE
in class QueryResult
TypeMismatchException
- if type mismatch occurs.QueryResult
public QueryResult operatorDESCENDING() throws TypeMismatchException
operatorDESCENDING
in class QueryResult
TypeMismatchException
- if type mismatch occurs.QueryResult
public QueryResult operatorAS(QueryResult r) throws TypeMismatchException
operatorAS
in class QueryResult
r
- the right operand of the unary as operator.TypeMismatchException
- if type mismatch occurs.QueryResult
,
BinderValue
,
StringValue
public QueryResult operatorCOMMA(QueryResult r) throws TypeMismatchException
operatorCOMMA
in class QueryResult
r
- the right operand of the binary comma operator.TypeMismatchException
- if type mismatch occurs.QueryResult
,
SequenceValue
,
SingleValue
,
StructValue
public QueryResult operatorUNION(QueryResult r) throws TypeMismatchException
operatorUNION
in class QueryResult
r
- the right operand of the binary union operator.TypeMismatchException
- if type mismatch occurs.QueryResult
,
SequenceValue
,
SingleValue
,
StructValue
public BooleanValue operatorINCLUSION(QueryResult r) throws TypeMismatchException
operatorINCLUSION
in class QueryResult
r
- the right operand of the binary inclusion operator.TypeMismatchException
- if type mismatch occurs.QueryResult
,
BooleanValue
public QueryResult operatorINTERSECTION(QueryResult r) throws TypeMismatchException
operatorINTERSECTION
in class QueryResult
r
- the right operand of the binary intersection operator.TypeMismatchException
- if type mismatch occurs.QueryResult
public QueryResult operatorDIFFERENCE(QueryResult r) throws TypeMismatchException
operatorDIFFERENCE
in class QueryResult
r
- the right operand of the binary difference operator.TypeMismatchException
- if type mismatch occurs.QueryResult
public QueryResult operatorSYMMETRICDIFFERENCE(QueryResult r) throws TypeMismatchException
operatorSYMMETRICDIFFERENCE
in class QueryResult
r
- the right operand of the binary symmetric difference operator.TypeMismatchException
- if type mismatch occurs.QueryResult
public BooleanValue operatorCOMPARE(QueryResult r) throws TypeMismatchException
operatorCOMPARE
in class QueryResult
r
- the right operand of the binary compare operator.TypeMismatchException
- if type mismatch occurs.QueryResult
,
BooleanValue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |