Package org.eclipse.persistence.jpa.jpql.model.query

Examples of org.eclipse.persistence.jpa.jpql.model.query.SumFunctionStateObject


  @Override
  public void visit(SumFunction expression) {

    expression.getExpression().accept(this);

    SumFunctionStateObject stateObject = new SumFunctionStateObject(
      parent,
      expression.hasDistinct(),
      this.stateObject
    );

    stateObject.setExpression(expression);
    this.stateObject = stateObject;
  }
View Full Code Here


    add(stateObject);
    return (T) this;
  }

  protected void sum(boolean distinct, String path) {
    StateObject stateObject = new SumFunctionStateObject(parent, distinct, literal(path));
    add(stateObject);
  }
View Full Code Here

  @Override
  public void visit(SumFunction expression) {

    expression.getExpression().accept(this);

    SumFunctionStateObject stateObject = new SumFunctionStateObject(
      parent,
      expression.hasDistinct(),
      this.stateObject
    );

    stateObject.setExpression(expression);
    this.stateObject = stateObject;
  }
View Full Code Here

  @Override
  public void visit(SumFunction expression) {

    expression.getExpression().accept(this);

    SumFunctionStateObject stateObject = new SumFunctionStateObject(
      parent,
      expression.hasDistinct(),
      this.stateObject
    );

    stateObject.setExpression(expression);
    this.stateObject = stateObject;
  }
View Full Code Here

    add(stateObject);
    return (T) this;
  }

  protected void sum(boolean distinct, String path) {
    StateObject stateObject = new SumFunctionStateObject(parent, distinct, literal(path));
    add(stateObject);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.model.query.SumFunctionStateObject

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.