public class MultithreadedForEach extends ForEach
actionOp, containsTailCall, selectOp, threadsOpEFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, UPDATE_METHOD, WATCH_METHOD| Constructor and Description |
|---|
MultithreadedForEach(Expression select,
Expression action,
boolean containsTailCall,
Expression threads) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
copy()
Copy an expression.
|
protected void |
explainThreads(ExpressionPresenter out)
Add the value of the saxon:threads attribute to the explain output
|
ExpressionCompiler |
getExpressionCompiler()
Return the compiler of the MultithreadedForEach expression.
|
int |
getImplementationMethod()
An implementation of Expression must provide at least one of the methods evaluateItem(), iterate(), or process().
|
SequenceIterator |
iterate(XPathContext context)
Return an Iterator to iterate over the values of the sequence.
|
TailCall |
processLeavingTail(XPathContext context)
ProcessLeavingTail: called to do the real work of this instruction.
|
addToPathMap, checkPermittedContents, computeSpecialProperties, createsNewNodes, export, getAction, getActionExpression, getExpressionName, getInstructionNameCode, getItemType, getNumberOfThreadsExpression, getSelect, getSelectExpression, getStreamingAdjunct, getThreads, map, operands, optimize, promoteChildren, setAction, setActionExpression, setSelect, setSelectExpression, setThreads, toShortString, toString, typeCheck, unorderedassembleParams, assembleTunnelParams, computeCardinality, dynamicError, evaluateAsString, evaluateItem, getConstructType, getInstructionName, getNetCost, getSourceLocator, isXSLT, main, process, toStreamingPatternadoptChildExpression, checkedOperands, checkForUpdatingSubexpressions, clearStreamabilityData, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluatePendingUpdates, explain, getCardinality, getConfiguration, getCost, getDependencies, getEvaluationMethod, getHostLanguage, getIntegerBounds, getIntrinsicDependencies, getLocation, getObjectName, getPackageData, getParentExpression, getPosture, getPostureAndSweepIfKnown, getProperties, getProperty, getRetainedStaticContext, getSlotsUsed, getSpecialProperties, getStaticBaseURI, getStaticBaseURIString, getStreamability, getSweep, getSystemId, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isCallOn, isCallOnSystemFunction, isIdentical, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, makeStreamingAdjunct, markTailFunctionCalls, operandList, operandSparseList, optimizeChildren, optimizeForType, promote, resetLocalStaticProperties, restoreParentPointers, setEvaluationMethod, setFiltered, setFlattened, setLocation, setParentExpression, setPostureAndSweep, setRetainedStaticContext, setRetainedStaticContextLocally, setStaticProperty, simplify, simplifyChildren, staticTypeCheck, suppressValidation, toPattern, typeCheckChildren, typeErrorpublic MultithreadedForEach(Expression select, Expression action, boolean containsTailCall, Expression threads)
public Expression copy()
public int getImplementationMethod()
getImplementationMethod in class ForEachExpression.ITERATE_METHOD or Expression.EVALUATE_METHOD or
Expression.PROCESS_METHODpublic TailCall processLeavingTail(XPathContext context) throws XPathException
InstructionprocessLeavingTail in interface TailCallReturnerprocessLeavingTail in class ForEachcontext - The dynamic context of the transformation, giving access to the current node,
the current variables, etc.XPathException - if a dynamic error occurs during the evaluation
of the instructionpublic SequenceIterator iterate(XPathContext context) throws XPathException
iterate in class ForEachcontext - supplies the context for evaluationXPathException - if any dynamic error occurs evaluating the
expressionpublic ExpressionCompiler getExpressionCompiler()
getExpressionCompiler in class ForEachprotected void explainThreads(ExpressionPresenter out)
explainThreads in class ForEachout - the destination for explain outputCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.