Package org.teiid.xquery.saxon
Class SaxonXQueryExpression
- java.lang.Object
-
- org.teiid.xquery.saxon.SaxonXQueryExpression
-
- All Implemented Interfaces:
Cloneable
,XQueryExpression
public class SaxonXQueryExpression extends Object implements XQueryExpression
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SaxonXQueryExpression.Result
static interface
SaxonXQueryExpression.RowProcessor
-
Field Summary
Fields Modifier and Type Field Description static Properties
DEFAULT_OUTPUT_PROPERTIES
static boolean[]
isValidAncestorAxis
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SaxonXQueryExpression
clone()
static SaxonXQueryExpression
compile(String xQueryString, XMLNamespaces namespaces, List<DerivedColumn> passing, List<XMLTable.XMLColumn> columns)
XMLType
createXMLType(net.sf.saxon.om.SequenceIterator iter, BufferManager bufferManager, boolean emptyOnEmpty, CommandContext context)
net.sf.saxon.Configuration
getConfig()
static XMLType.Type
getType(net.sf.saxon.om.NodeInfo info)
net.sf.saxon.sxpath.XPathExpression
getXPathExpression(String name)
boolean
isStreaming()
Streaming eligible if using document projection and the context path is streamable.static void
showArcs(StringBuilder sb, net.sf.saxon.expr.parser.PathMap.PathMapNode node, int level)
void
useDocumentProjection(List<XMLTable.XMLColumn> columns, AnalysisRecord record)
boolean
usesContextItem()
-
-
-
Field Detail
-
DEFAULT_OUTPUT_PROPERTIES
public static final Properties DEFAULT_OUTPUT_PROPERTIES
-
isValidAncestorAxis
public static final boolean[] isValidAncestorAxis
-
-
Method Detail
-
compile
public static SaxonXQueryExpression compile(String xQueryString, XMLNamespaces namespaces, List<DerivedColumn> passing, List<XMLTable.XMLColumn> columns) throws QueryResolverException
- Throws:
QueryResolverException
-
clone
public SaxonXQueryExpression clone()
- Specified by:
clone
in interfaceXQueryExpression
- Overrides:
clone
in classObject
-
usesContextItem
public boolean usesContextItem()
- Specified by:
usesContextItem
in interfaceXQueryExpression
-
useDocumentProjection
public void useDocumentProjection(List<XMLTable.XMLColumn> columns, AnalysisRecord record)
- Specified by:
useDocumentProjection
in interfaceXQueryExpression
-
createXMLType
public XMLType createXMLType(net.sf.saxon.om.SequenceIterator iter, BufferManager bufferManager, boolean emptyOnEmpty, CommandContext context) throws net.sf.saxon.trans.XPathException, TeiidComponentException, TeiidProcessingException
- Throws:
net.sf.saxon.trans.XPathException
TeiidComponentException
TeiidProcessingException
-
getType
public static XMLType.Type getType(net.sf.saxon.om.NodeInfo info)
-
getConfig
public net.sf.saxon.Configuration getConfig()
-
showArcs
public static void showArcs(StringBuilder sb, net.sf.saxon.expr.parser.PathMap.PathMapNode node, int level)
-
isStreaming
public boolean isStreaming()
Streaming eligible if using document projection and the context path is streamable.
-
getXPathExpression
public net.sf.saxon.sxpath.XPathExpression getXPathExpression(String name)
-
-