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 classSaxonXQueryExpression.Resultstatic interfaceSaxonXQueryExpression.RowProcessor
-
Field Summary
Fields Modifier and Type Field Description static PropertiesDEFAULT_OUTPUT_PROPERTIESstatic boolean[]isValidAncestorAxis
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SaxonXQueryExpressionclone()static SaxonXQueryExpressioncompile(String xQueryString, XMLNamespaces namespaces, List<DerivedColumn> passing, List<XMLTable.XMLColumn> columns)XMLTypecreateXMLType(net.sf.saxon.om.SequenceIterator iter, BufferManager bufferManager, boolean emptyOnEmpty, CommandContext context)net.sf.saxon.ConfigurationgetConfig()static XMLType.TypegetType(net.sf.saxon.om.NodeInfo info)net.sf.saxon.sxpath.XPathExpressiongetXPathExpression(String name)booleanisStreaming()Streaming eligible if using document projection and the context path is streamable.static voidshowArcs(StringBuilder sb, net.sf.saxon.expr.parser.PathMap.PathMapNode node, int level)voiduseDocumentProjection(List<XMLTable.XMLColumn> columns, AnalysisRecord record)booleanusesContextItem()
-
-
-
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:
clonein interfaceXQueryExpression- Overrides:
clonein classObject
-
usesContextItem
public boolean usesContextItem()
- Specified by:
usesContextItemin interfaceXQueryExpression
-
useDocumentProjection
public void useDocumentProjection(List<XMLTable.XMLColumn> columns, AnalysisRecord record)
- Specified by:
useDocumentProjectionin 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.XPathExceptionTeiidComponentExceptionTeiidProcessingException
-
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)
-
-