public class TraceClause extends Clause
COUNT, FOR, GROUPBYCLAUSE, LET, ORDERBYCLAUSE, TRACE, WHERE, WINDOW| Constructor and Description |
|---|
TraceClause(Clause target,
NamespaceResolver nsResolver,
Container container)
Create a traceClause
|
| Modifier and Type | Method and Description |
|---|---|
TraceClause |
copy()
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
|
NamespaceResolver |
getNamespaceResolver()
Get the namespace bindings from the static context of the clause
|
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
|
void |
processSubExpressions(ExpressionProcessor processor)
Process the subexpressions of this clause
|
void |
setNamespaceResolver(NamespaceResolver nsResolver)
Set the namespace bindings from the static context of the clause
|
String |
toString() |
containsNonInlineableVariableReference, gatherVariableReferences, getLocationId, getRangeVariables, optimize, refineVariableType, setLocationId, typeCheckpublic TraceClause(Clause target, NamespaceResolver nsResolver, Container container)
target - the clause whose evaluation is being tracedcontainer - the container of the containing FLWORExpressionpublic NamespaceResolver getNamespaceResolver()
public void setNamespaceResolver(NamespaceResolver nsResolver)
nsResolver - a namespace resolver that reflects the in scope namespaces of the clausepublic int getClauseKey()
ClausegetClauseKey in class Clausepublic TraceClause copy()
Clausepublic TuplePull getPullStream(TuplePull base, XPathContext context)
getPullStream in class Clausebase - the input tuple streamcontext - the dynamic evaluation contextpublic TuplePush getPushStream(TuplePush destination, XPathContext context)
getPushStream in class Clausedestination - the output tuple streamcontext - the dynamic evaluation contextpublic void processSubExpressions(ExpressionProcessor processor) throws XPathException
processSubExpressions in class Clauseprocessor - the expression processor used to process the subexpressionsXPathException - if any error is detectedpublic void explain(ExpressionPresenter out)
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.