Examples of removeChildNode()


Examples of org.openrdf.sail.rdbms.algebra.SqlAnd.removeChildNode()

              if (constant == null) {
                continue;
              }
              if (constant instanceof SqlConstant) {
                node.removeChildNode(sqlNull);
                and.removeChildNode(isNotNull);
                if (node.getNumberOfArguments() == 1) {
                  replace(node, node.getArg(0));
                }
                if (and.getNumberOfArguments() == 1) {
                  replace(and, and.getArg(0));
View Full Code Here

Examples of org.openrdf.sail.rdbms.algebra.SqlOr.removeChildNode()

      for (SqlExpr arg : node.getArgs()) {
        if (arg instanceof SqlOr) {
          SqlOr nestedOr = (SqlOr)arg;
          for (SqlExpr nestedArg : nestedOr.getArgs()) {
            if (nestedArg instanceof SqlNull) {
              nestedOr.removeChildNode(nestedArg);
            }
          }
          if (nestedOr.getNumberOfArguments() == 0) {
            replace(nestedOr, new SqlNull());
          }
View Full Code Here

Examples of org.teiid.query.mapping.xml.MappingBaseNode.removeChildNode()

           
            // Get the parent of current node
            MappingBaseNode parent = baseNode.getParentNode();
           
            // remove the current node from its parent
            parent.removeChildNode(baseNode);
           
            // make source is child of current nodes parent
            parent.addSourceNode(sourceNode);
           
            // now make the current node, child of the source.
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.