/** * Replace this expression by a simpler expression that delivers the results without regard * to order. * * @param retainAllNodes set to true if the result must contain exactly the same nodes as the * original; set to false if the result can eliminate (or introduce) duplicates. * @param forStreaming set to true if optimizing for streaming */ @Override public Expression unordered(boolean retainAllNodes, boolean forStreaming) throws XPathException { setAction(getAction().unordered(retainAllNodes, forStreaming)); return this; }
/** * Replace this expression by a simpler expression that delivers the results without regard * to order. * * @param retainAllNodes set to true if the result must contain exactly the same nodes as the * original; set to false if the result can eliminate (or introduce) duplicates. * @param forStreaming set to true if optimizing for streaming */ @Override public Expression unordered(boolean retainAllNodes, boolean forStreaming) throws XPathException { setAction(getAction().unordered(retainAllNodes, forStreaming)); return this; }
setAction(oldThen); return Choose.makeConditional(condition, this); } else {
setAction(oldThen); return Choose.makeConditional(condition, this); } else {
setAction(oldThen); return Choose.makeConditional(condition, this); } else {
fc.rangeVariable.setRequiredType(fc.requiredType); exp.setAction(action);
fc.rangeVariable.setRequiredType(fc.requiredType); exp.setAction(action);
((Assignation) operand).setAction(new Atomizer(action, roleDiagnostic)); return operand.optimize(visitor, contextInfo);
((Assignation) operand).setAction(new Atomizer(action)); return operand.optimize(visitor, contextInfo);