public class SomeExpr extends AbsExpression
IAxis that represents the quantified expression "some".
The quantified expression is true if at least one evaluation of the test expression has the effective boolean value true; otherwise the quantified expression is false. This rule implies that, if the in-clauses generate zero binding tuples, the value of the quantified expression is false.
Constructor and Description |
---|
SomeExpr(INodeReadTrx rtx,
List<AbsAxis> mVars,
AbsAxis mSatisfy)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AtomicValue |
evaluate()
Performs the expression dependent evaluation of the expression.
|
void |
reset(long mNodeKey)
Resetting the nodekey of this axis to a given nodekey.
|
hasNext
addAtomicToItemList, close, getItemList, getNode, getStartKey, isSelfIncluded, iterator, moveTo, next, remove, resetToLastKey, resetToStartKey
public SomeExpr(INodeReadTrx rtx, List<AbsAxis> mVars, AbsAxis mSatisfy)
rtx
- Exclusive (immutable) trx to iterate with.mVars
- Variables for which the condition must be satisfiedmSatisfy
- condition that must be satisfied by at least one item of the
variable results in order to evaluate expression to truepublic void reset(long mNodeKey)
reset
in class AbsExpression
mNodeKey
- the nodekey where the reset should occur to.public AtomicValue evaluate()
evaluate
in class AbsExpression
Copyright © 2013. All Rights Reserved.