public class CountClause extends Clause
COUNT, FOR, GROUPBYCLAUSE, LET, ORDERBYCLAUSE, TRACE, WHERE, WINDOW| Constructor and Description |
|---|
CountClause() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToPathMap(PathMap pathMap,
PathMap.PathMapNodeSet pathMapNodeSet)
Collect information about the navigation paths followed by this clause, for document projection purposes
|
CountClause |
copy(FLWORExpression flwor,
RebindingMap rebindings)
Create a copy of this clause
|
void |
explain(ExpressionPresenter out)
Diagnostic print of expression structure.
|
int |
getClauseKey()
Get a keyword identifying what kind of clause this is
|
TuplePull |
getPullStream(TuplePull base,
XPathContext context)
Get a tuple stream that implements the functionality of this clause, taking its
input from another tuple stream which this clause modifies
|
TuplePush |
getPushStream(TuplePush destination,
XPathContext context)
Get a push-mode tuple stream that implements the functionality of this clause, supplying its
output to another tuple stream
|
LocalVariableBinding |
getRangeVariable() |
LocalVariableBinding[] |
getRangeVariables()
Get the number of variables bound by this clause
|
void |
processOperands(OperandProcessor processor)
Process the subexpressions of this clause
|
void |
setRangeVariable(LocalVariableBinding binding) |
java.lang.String |
toString() |
containsNonInlineableVariableReference, gatherVariableReferences, getConfiguration, getLocation, getPackageData, isRepeated, optimize, refineVariableType, setLocation, setPackageData, setRepeated, toShortString, typeCheckpublic int getClauseKey()
ClausegetClauseKey in class Clausepublic CountClause copy(FLWORExpression flwor, RebindingMap rebindings)
Clausepublic void setRangeVariable(LocalVariableBinding binding)
public LocalVariableBinding getRangeVariable()
public LocalVariableBinding[] getRangeVariables()
getRangeVariables in class Clausepublic TuplePull getPullStream(TuplePull base, XPathContext context)
getPullStream in class Clausebase - the input tuple streamcontext - public TuplePush getPushStream(TuplePush destination, XPathContext context)
getPushStream in class Clausedestination - the output tuple streamcontext - public void processOperands(OperandProcessor processor) throws XPathException
processOperands in class Clauseprocessor - the expression processor used to process the subexpressionsXPathException - if any error is detectedpublic void addToPathMap(PathMap pathMap, PathMap.PathMapNodeSet pathMapNodeSet)
ClauseaddToPathMap in class ClausepathMap - the path map in which the data is to be collectedpathMapNodeSet - the path map node set representing the paths to the context itempublic void explain(ExpressionPresenter out) throws XPathException
explain in class Clauseout - the expression presenter used to display the structureXPathExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.