Package org.openrdf.query.algebra

Examples of org.openrdf.query.algebra.SingletonSet


   */
  public TupleExpr buildTupleExpr() {
    TupleExpr result;

    if (requiredTEs.isEmpty()) {
      result = new SingletonSet();
    }
    else if (requiredTEs.size() == 1) {
      result = requiredTEs.get(0);
    }
    else {
View Full Code Here


    if (queryBodyNode != null) {
      // Build tuple expression for query body
      tupleExpr = (TupleExpr)queryBodyNode.jjtAccept(this, null);
    }
    else {
      tupleExpr = new SingletonSet();
    }

    // Apply projection
    tupleExpr = (TupleExpr)node.getSelectClause().jjtAccept(this, tupleExpr);
View Full Code Here

    if (node.hasQueryBody()) {
      // Build tuple expression for query body
      tupleExpr = (TupleExpr)node.getQueryBody().jjtAccept(this, null);
    }
    else {
      tupleExpr = new SingletonSet();
    }

    // Create constructor
    ConstructorBuilder cb = new ConstructorBuilder();
    ASTConstruct constructNode = node.getConstructClause();
View Full Code Here

   */
  public TupleExpr buildTupleExpr() {
    TupleExpr result;

    if (requiredTEs.isEmpty()) {
      result = new SingletonSet();
    }
    else if (requiredTEs.size() == 1) {
      result = requiredTEs.get(0);
    }
    else {
View Full Code Here

        for (TupleExpr arg : union.getArgs()) {
          if (!(arg instanceof SingletonSet)) {
            return;
          }
        }
        union.replaceWith(new SingletonSet());
      }
    }
View Full Code Here

   */
  public TupleExpr buildTupleExpr() {
    TupleExpr result;

    if (requiredTEs.isEmpty()) {
      result = new SingletonSet();
    }
    else {
      result = requiredTEs.get(0);

      for (int i = 1; i < requiredTEs.size(); i++) {
View Full Code Here

    if (queryBodyNode != null) {
      // Build tuple expression for query body
      tupleExpr = (TupleExpr)queryBodyNode.jjtAccept(this, null);
    }
    else {
      tupleExpr = new SingletonSet();
    }

    // Apply projection
    tupleExpr = (TupleExpr)node.getSelectClause().jjtAccept(this, tupleExpr);
View Full Code Here

    if (node.hasQueryBody()) {
      // Build tuple expression for query body
      tupleExpr = (TupleExpr)node.getQueryBody().jjtAccept(this, null);
    }
    else {
      tupleExpr = new SingletonSet();
    }

    // Create constructor
    ConstructorBuilder cb = new ConstructorBuilder();
    ASTConstruct constructNode = node.getConstructClause();
View Full Code Here

   */
  public TupleExpr buildTupleExpr() {
    TupleExpr result;

    if (requiredTEs.isEmpty()) {
      result = new SingletonSet();
    }
    else {
      result = requiredTEs.get(0);

      for (int i = 1; i < requiredTEs.size(); i++) {
View Full Code Here

TOP

Related Classes of org.openrdf.query.algebra.SingletonSet

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.