public class XMLHelperImpl extends XMLHelper
Constructor and Description |
---|
XMLHelperImpl() |
Modifier and Type | Method and Description |
---|---|
XQueryExpression |
compile(String xquery,
XMLNamespaces namespaces,
List<DerivedColumn> passing,
List<XMLTable.XMLColumn> columns) |
String |
convertToAtomicValue(Object value) |
String |
escapeName(String name,
boolean fully) |
Object |
evaluate(XMLType val,
XMLCast expression,
CommandContext context) |
Object |
evaluateXMLQuery(List<?> tuple,
XMLQuery xmlQuery,
boolean exists,
Map<String,Object> parameters,
CommandContext context) |
boolean |
isRealImplementation() |
boolean |
isValidNCName(String prefix) |
RelationalNode |
newXMLTableNode(int id,
XMLTable xt,
ArrayList<XMLTable.XMLColumn> filteredColumns) |
String[] |
validateQName(String name) |
void |
validateXpath(String xpath) |
getInstance
public XQueryExpression compile(String xquery, XMLNamespaces namespaces, List<DerivedColumn> passing, List<XMLTable.XMLColumn> columns) throws QueryResolverException
compile
in class XMLHelper
QueryResolverException
public String convertToAtomicValue(Object value) throws TransformerException
convertToAtomicValue
in class XMLHelper
TransformerException
public String escapeName(String name, boolean fully)
escapeName
in class XMLHelper
public Object evaluate(XMLType val, XMLCast expression, CommandContext context) throws ExpressionEvaluationException
evaluate
in class XMLHelper
ExpressionEvaluationException
public Object evaluateXMLQuery(List<?> tuple, XMLQuery xmlQuery, boolean exists, Map<String,Object> parameters, CommandContext context) throws FunctionExecutionException, BlockedException, TeiidComponentException
evaluateXMLQuery
in class XMLHelper
FunctionExecutionException
BlockedException
TeiidComponentException
public boolean isRealImplementation()
isRealImplementation
in class XMLHelper
public boolean isValidNCName(String prefix) throws TeiidProcessingException
isValidNCName
in class XMLHelper
TeiidProcessingException
public RelationalNode newXMLTableNode(int id, XMLTable xt, ArrayList<XMLTable.XMLColumn> filteredColumns) throws TeiidComponentException
newXMLTableNode
in class XMLHelper
TeiidComponentException
public String[] validateQName(String name) throws TeiidProcessingException
validateQName
in class XMLHelper
TeiidProcessingException
public void validateXpath(String xpath) throws TeiidProcessingException
validateXpath
in class XMLHelper
TeiidProcessingException
Copyright © 2020. All rights reserved.