@Override public void visit(XMLSerialize obj) { obj.setExpression(replaceExpression(obj.getExpression())); }
@Override public void visit(XMLSerialize obj) { obj.setExpression(replaceExpression(obj.getExpression())); }
@Override public void visit(XMLSerialize obj) { obj.setExpression(replaceExpression(obj.getExpression())); }
@Override public void visit(XMLSerialize obj) { preVisitVisitor(obj); visitNode(obj.getExpression()); postVisitVisitor(obj); }
@Override public void visit(XMLSerialize obj) { preVisitVisitor(obj); visitNode(obj.getExpression()); postVisitVisitor(obj); }
@Override public void visit(XMLSerialize obj) { preVisitVisitor(obj); visitNode(obj.getExpression()); postVisitVisitor(obj); }
@Override public void visit(XMLSerialize obj) { try { obj.setExpression(ResolverUtil.convertExpression(obj.getExpression(), DataTypeManager.DefaultDataTypes.XML, metadata)); } catch (QueryResolverException e) { handleException(new QueryResolverException(e, QueryPlugin.Util.getString("XMLSerialize.resolvingError", obj))); //$NON-NLS-1$ } }
@Override public void visit(XMLSerialize obj) { try { obj.setExpression(ResolverUtil.convertExpression(obj.getExpression(), DataTypeManager.DefaultDataTypes.XML, metadata)); } catch (QueryResolverException e) { handleException(new QueryResolverException(e, QueryPlugin.Util.getString("XMLSerialize.resolvingError", obj))); //$NON-NLS-1$ } }
@Override public void visit(XMLSerialize obj) { try { obj.setExpression(ResolverUtil.convertExpression(obj.getExpression(), DataTypeManager.DefaultDataTypes.XML, metadata)); } catch (QueryResolverException e) { handleException(new QueryResolverException(e, QueryPlugin.Util.getString("XMLSerialize.resolvingError", obj))); //$NON-NLS-1$ } }
private Object evaluateXMLSerialize(List<?> tuple, XMLSerialize xs) throws ExpressionEvaluationException, BlockedException, TeiidComponentException, FunctionExecutionException { XMLType value = (XMLType) internalEvaluate(xs.getExpression(), tuple); if (value == null) { return null; } try { if (!xs.isDocument()) { return XMLSystemFunctions.serialize(xs, value); } if (value.getType() == Type.UNKNOWN) { Type type = StringToSQLXMLTransform.isXml(value.getCharacterStream()); value.setType(type); } if (value.getType() == Type.DOCUMENT || value.getType() == Type.ELEMENT) { return XMLSystemFunctions.serialize(xs, value); } } catch (SQLException e) { throw new FunctionExecutionException(QueryPlugin.Event.TEIID30334, e); } catch (TransformationException e) { throw new FunctionExecutionException(QueryPlugin.Event.TEIID30335, e); } throw new FunctionExecutionException(QueryPlugin.Event.TEIID30336, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30336)); }
private Object evaluateXMLSerialize(List<?> tuple, XMLSerialize xs) throws ExpressionEvaluationException, BlockedException, TeiidComponentException, FunctionExecutionException { XMLType value = (XMLType) internalEvaluate(xs.getExpression(), tuple); if (value == null) { return null; } try { if (!xs.isDocument()) { return XMLSystemFunctions.serialize(xs, value); } if (value.getType() == Type.UNKNOWN) { Type type = StringToSQLXMLTransform.isXml(value.getCharacterStream()); value.setType(type); } if (value.getType() == Type.DOCUMENT || value.getType() == Type.ELEMENT) { return XMLSystemFunctions.serialize(xs, value); } } catch (SQLException e) { throw new FunctionExecutionException(QueryPlugin.Event.TEIID30334, e); } catch (TransformationException e) { throw new FunctionExecutionException(QueryPlugin.Event.TEIID30335, e); } throw new FunctionExecutionException(QueryPlugin.Event.TEIID30336, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30336)); }
private Object evaluateXMLSerialize(List<?> tuple, XMLSerialize xs) throws ExpressionEvaluationException, BlockedException, TeiidComponentException, FunctionExecutionException { XMLType value = (XMLType) internalEvaluate(xs.getExpression(), tuple); if (value == null) { return null; } try { if (!xs.isDocument()) { return XMLSystemFunctions.serialize(xs, value); } if (value.getType() == Type.UNKNOWN) { Type type = StringToSQLXMLTransform.isXml(value.getCharacterStream()); value.setType(type); } if (value.getType() == Type.DOCUMENT || value.getType() == Type.ELEMENT) { return XMLSystemFunctions.serialize(xs, value); } } catch (SQLException e) { throw new FunctionExecutionException(QueryPlugin.Event.TEIID30334, e); } catch (TransformationException e) { throw new FunctionExecutionException(QueryPlugin.Event.TEIID30335, e); } throw new FunctionExecutionException(QueryPlugin.Event.TEIID30336, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30336)); }
rewriteExpressions(expression); XMLSerialize serialize = (XMLSerialize)expression; if (isNull(serialize.getExpression())) { return new Constant(null, serialize.getType());
rewriteExpressions(expression); XMLSerialize serialize = (XMLSerialize)expression; if (isNull(serialize.getExpression())) { return new Constant(null, serialize.getType());
rewriteExpressions(expression); XMLSerialize serialize = (XMLSerialize)expression; if (isNull(serialize.getExpression())) { return new Constant(null, serialize.getType());
visitNode(obj.getExpression()); if (obj.getTypeString() != null) { append(SPACE);
visitNode(obj.getExpression()); if (obj.getTypeString() != null) { append(SPACE);
visitNode(obj.getExpression()); if (obj.getTypeString() != null) { append(SPACE);