Package net.sf.saxon.query

Examples of net.sf.saxon.query.StaticQueryContext.declareGlobalVariable()


        for (DerivedColumn derivedColumn : passing) {
          if (derivedColumn.getAlias() == null) {
            continue;
          }
          try {
        context.declareGlobalVariable(StructuredQName.fromClarkName(derivedColumn.getAlias()), SequenceType.ANY_SEQUENCE, null, true);
      } catch (XPathException e) {
        //this is always expected to work
        throw new TeiidRuntimeException(e, "Could not define global variable"); //$NON-NLS-1$
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.