Package org.teiid.query.sql.symbol

Examples of org.teiid.query.sql.symbol.XMLQuery


      f.setTypeString("CLOB");
      helpTestExpression("xmlserialize(document x as CLOB)", "XMLSERIALIZE(DOCUMENT x AS CLOB)", f);
    }
   
    @Test public void testXmlQuery() throws Exception {
      XMLQuery f = new XMLQuery();
      f.setXquery("/x");
      f.setEmptyOnEmpty(false);
      f.setPassing(Arrays.asList(new DerivedColumn(null, new ElementSymbol("foo"))));
      helpTestExpression("xmlquery('/x' passing foo null on empty)", "XMLQUERY('/x' PASSING foo NULL ON EMPTY)", f);
    }
View Full Code Here

TOP

Related Classes of org.teiid.query.sql.symbol.XMLQuery

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.