public class XQueryEvaluator extends Object
Constructor and Description |
---|
XQueryEvaluator() |
Modifier and Type | Method and Description |
---|---|
static net.sf.saxon.value.AtomicValue |
convertToAtomicValue(Object value) |
static Object |
evaluate(XMLType value,
XMLCast expression,
CommandContext context) |
static Object |
evaluateXMLQuery(List<?> tuple,
XMLQuery xmlQuery,
boolean exists,
Map<String,Object> parameters,
CommandContext context) |
static SaxonXQueryExpression.Result |
evaluateXQuery(SaxonXQueryExpression xquery,
Object context,
Map<String,Object> parameterValues,
SaxonXQueryExpression.RowProcessor processor,
CommandContext commandContext) |
public static SaxonXQueryExpression.Result evaluateXQuery(SaxonXQueryExpression xquery, Object context, Map<String,Object> parameterValues, SaxonXQueryExpression.RowProcessor processor, CommandContext commandContext) throws TeiidProcessingException, TeiidComponentException
public static Object evaluateXMLQuery(List<?> tuple, XMLQuery xmlQuery, boolean exists, Map<String,Object> parameters, CommandContext context) throws BlockedException, TeiidComponentException, FunctionExecutionException
tuple
- xmlQuery
- exists
- - check only for the existence of a non-empty resultBlockedException
TeiidComponentException
FunctionExecutionException
public static Object evaluate(XMLType value, XMLCast expression, CommandContext context) throws ExpressionEvaluationException
ExpressionEvaluationException
public static net.sf.saxon.value.AtomicValue convertToAtomicValue(Object value) throws TransformerException
TransformerException
Copyright © 2019. All rights reserved.