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

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


  @Override
  public void visit(CountFunction expression) {

    expression.getExpression().accept(this);

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

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


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

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

  @Override
  public void visit(CountFunction expression) {

    expression.getExpression().accept(this);

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

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

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

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

  @Override
  public void visit(CountFunction expression) {

    expression.getExpression().accept(this);

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

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

TOP

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

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.