Package org.teiid.xquery.saxon
Class SaxonXQueryExpression
- java.lang.Object
-
- org.teiid.xquery.saxon.SaxonXQueryExpression
-
-
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, org.teiid.query.sql.symbol.XMLNamespaces namespaces, List<org.teiid.query.sql.symbol.DerivedColumn> passing, List<org.teiid.query.sql.lang.XMLTable.XMLColumn> columns)org.teiid.core.types.XMLTypecreateXMLType(net.sf.saxon.om.SequenceIterator iter, org.teiid.common.buffer.BufferManager bufferManager, boolean emptyOnEmpty, org.teiid.query.util.CommandContext context)net.sf.saxon.ConfigurationgetConfig()static org.teiid.core.types.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<org.teiid.query.sql.lang.XMLTable.XMLColumn> columns, org.teiid.query.analysis.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, org.teiid.query.sql.symbol.XMLNamespaces namespaces, List<org.teiid.query.sql.symbol.DerivedColumn> passing, List<org.teiid.query.sql.lang.XMLTable.XMLColumn> columns) throws org.teiid.api.exception.query.QueryResolverException
- Throws:
org.teiid.api.exception.query.QueryResolverException
-
clone
public SaxonXQueryExpression clone()
-
usesContextItem
public boolean usesContextItem()
- Specified by:
usesContextItemin interfaceorg.teiid.query.xquery.XQueryExpression
-
useDocumentProjection
public void useDocumentProjection(List<org.teiid.query.sql.lang.XMLTable.XMLColumn> columns, org.teiid.query.analysis.AnalysisRecord record)
- Specified by:
useDocumentProjectionin interfaceorg.teiid.query.xquery.XQueryExpression
-
createXMLType
public org.teiid.core.types.XMLType createXMLType(net.sf.saxon.om.SequenceIterator iter, org.teiid.common.buffer.BufferManager bufferManager, boolean emptyOnEmpty, org.teiid.query.util.CommandContext context) throws net.sf.saxon.trans.XPathException, org.teiid.core.TeiidComponentException, org.teiid.core.TeiidProcessingException- Throws:
net.sf.saxon.trans.XPathExceptionorg.teiid.core.TeiidComponentExceptionorg.teiid.core.TeiidProcessingException
-
getType
public static org.teiid.core.types.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)
-
-