Package org.openrdf.query.parser.serql.ast

Examples of org.openrdf.query.parser.serql.ast.ASTConstruct


      tupleExpr = new SingletonSet();
    }

    // Create constructor
    ConstructorBuilder cb = new ConstructorBuilder();
    ASTConstruct constructNode = node.getConstructClause();

    if (!constructNode.isWildcard()) {
      TupleExpr constructExpr = (TupleExpr)constructNode.jjtAccept(this, null);
      tupleExpr = cb.buildConstructor(tupleExpr, constructExpr, constructNode.isDistinct());
    }
    else if (node.hasQueryBody()) {
      tupleExpr = cb.buildConstructor(tupleExpr, constructNode.isDistinct());
    }
    // else: "construct *" without query body, just return the SingletonSet

    // process limit and offset clauses, if present.
    ASTLimit limitNode = node.getLimit();
View Full Code Here


      tupleExpr = new SingletonSet();
    }

    // Create constructor
    ConstructorBuilder cb = new ConstructorBuilder();
    ASTConstruct constructNode = node.getConstructClause();

    if (!constructNode.isWildcard()) {
      TupleExpr constructExpr = (TupleExpr)constructNode.jjtAccept(this, null);
      tupleExpr = cb.buildConstructor(tupleExpr, constructExpr, constructNode.isDistinct());
    }
    else if (node.hasQueryBody()) {
      tupleExpr = cb.buildConstructor(tupleExpr, constructNode.isDistinct());
    }
    // else: "construct *" without query body, just return the SingletonSet

    // process limit and offset clauses, if present.
    ASTLimit limitNode = node.getLimit();
View Full Code Here

TOP

Related Classes of org.openrdf.query.parser.serql.ast.ASTConstruct

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.