Package org.openrdf.query.algebra

Examples of org.openrdf.query.algebra.MultiProjection


      // Note: no need to apply the second duplicate elimination step if
      // there's just one projection
    }
    else if (projections.size() > 1) {
      result = new MultiProjection(result, projections);

      if (distinct) {
        // Add another distinct to filter duplicate statements
        result = new Distinct(result);
      }
View Full Code Here


    if (projList.size() == 1) {
      result = new Projection(result, projList.get(0));
    }
    else if (projList.size() > 1) {
      result = new MultiProjection(result, projList);
    }
    else {
      // Empty constructor
      result = new EmptySet();
    }
View Full Code Here

      // Note: no need to apply the second duplicate elimination step if
      // there's just one projection
    }
    else if (projections.size() > 1) {
      result = new MultiProjection(result, projections);

      if (distinct) {
        // Add another distinct to filter duplicate statements
        result = new Distinct(result);
      }
View Full Code Here

    if (projList.size() == 1) {
      result = new Projection(result, projList.get(0));
    }
    else if (projList.size() > 1) {
      result = new MultiProjection(result, projList);
    }
    else {
      // Empty constructor
      result = new EmptySet();
    }
View Full Code Here

TOP

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

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.