|
|||||||||
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.SequenceValue
The SequenceValue
class represents the sequence collections.
Fields inherited from class pl.edu.pjwstk.yaod.yaql.engine.queryresulttypes.ComplexValue |
results |
Constructor Summary | |
SequenceValue()
Creates a new empty sequence collection. |
|
SequenceValue(QueryResult r)
Creates a new sequence collection initialized with the r1 . |
|
SequenceValue(QueryResult r1,
QueryResult r2)
Creates a new sequence collection initialized with the r1 and
r2 . |
|
SequenceValue(java.util.Vector v)
Creates a new sequence 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. |
BooleanValue |
operatorINCLUSION(QueryResult r)
Method responsible for binary inclusion operation. |
QueryResult |
operatorRANGE(QueryResult r)
Method responsible for binary range operation. |
QueryResult |
operatorRANGE(QueryResult l,
QueryResult r)
Method responsible for ternary range operation. |
QueryResult |
operatorSEQUENCE()
Method responsible for unary sequence operation. |
QueryResult |
operatorSTRUCT()
Method responsible for unary struct 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 SequenceValue()
public SequenceValue(java.util.Vector v)
v
.v
- vector of elements.public SequenceValue(QueryResult r)
r1
.r1
- any result.r2
- any result.QueryResult
public SequenceValue(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 operatorBAG() throws TypeMismatchException
operatorBAG
in class QueryResult
TypeMismatchException
- if type mismatch occurs.QueryResult
public QueryResult operatorSTRUCT() throws TypeMismatchException
operatorSTRUCT
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
,
BagValue
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 operatorUNION(QueryResult r) throws TypeMismatchException
operatorUNION
in class QueryResult
r
- the right operand of the binary union operator.TypeMismatchException
- if type mismatch occurs.QueryResult
,
BagValue
,
SingleValue
,
StructValue
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
,
BagValue
,
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 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
public QueryResult operatorRANGE(QueryResult r) throws TypeMismatchException
operatorRANGE
in class QueryResult
r
- the right operand of the binary range operator.TypeMismatchException
- if type mismatch occurs.QueryResult
,
IntegerValue
public QueryResult operatorRANGE(QueryResult l, QueryResult r) throws TypeMismatchException
operatorRANGE
in class QueryResult
m
- the middle operand of the ternary range operator.r
- the right operand of the ternary range operator.TypeMismatchException
- if type mismatch occurs.QueryResult
,
IntegerValue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |