Package org.springframework.data.gemfire.repository.query

Examples of org.springframework.data.gemfire.repository.query.QueryString


   * (non-Javadoc)
   * @see org.springframework.data.gemfire.repository.GemfireRepository.sort(:org.springframework.data.domain.Sort)
   */
  @Override
  public Iterable<T> findAll(final Sort sort) {
    QueryString query = new QueryString("SELECT * FROM /RegionPlaceholder")
      .forRegion(entityInformation.getJavaType(), template.getRegion())
      .orderBy(sort);

    SelectResults<T> selectResults = template.find(query.toString());

    return selectResults.asList();
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.gemfire.repository.query.QueryString

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.