Package de.fuberlin.wiwiss.d2rq.algebra

Examples of de.fuberlin.wiwiss.d2rq.algebra.OrderSpec


    if (this.limitInverse!=null) {
      builder.setLimitInverse(this.limitInverse.intValue());
    }
    if (this.order!=null) {
      builder.setOrderSpecs(Collections.singletonList(
          new OrderSpec(new AttributeExpr(SQL.parseAttribute(this.order)), this.orderDesc.booleanValue())));
    }
    return builder.buildRelation();
  }
View Full Code Here


  }
 
  public List<OrderSpec> orderSpecs(boolean ascending) {
    List<OrderSpec> result = new ArrayList<OrderSpec>(columns.size());
    for (Attribute column: columns) {
      result.add(new OrderSpec(new AttributeExpr(column), ascending));
    }
    return result;
  }
View Full Code Here

    return new Column(renamer.applyTo(this.attribute));
  }
 
  public List<OrderSpec> orderSpecs(boolean ascending) {
    return Collections.singletonList(
        new OrderSpec(new AttributeExpr(attribute), ascending));
  }
View Full Code Here

  }
 
  public List<OrderSpec> orderSpecs(boolean ascending) {
    List<OrderSpec> result = new ArrayList<OrderSpec>(attributes.size());
    for (Attribute column: attributes) {
      result.add(new OrderSpec(new AttributeExpr(column), ascending));
    }
    return result;
  }
View Full Code Here

  public ValueMaker renameAttributes(ColumnRenamer renamer) {
    return new SQLExpressionValueMaker(renamer.applyTo(expression));
  }
 
  public List<OrderSpec> orderSpecs(boolean ascending) {
    return Collections.singletonList(new OrderSpec(expression, ascending));
  }
View Full Code Here

TOP

Related Classes of de.fuberlin.wiwiss.d2rq.algebra.OrderSpec

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.