com.avaje.ebean.Query.findIterate()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(99)

本文整理了Java中com.avaje.ebean.Query.findIterate方法的一些代码示例,展示了Query.findIterate的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.findIterate方法的具体详情如下:
包路径:com.avaje.ebean.Query
类名称:Query
方法名:findIterate

Query.findIterate介绍

[英]Execute the query iterating over the results.

Remember that with QueryIterator you must call QueryIterator#close()when you have finished iterating the results (typically in a finally block).

This query will execute against the EbeanServer that was used to create it.
[中]

代码示例

代码示例来源:origin: org.avaje.ebean/ebean

@Override
public QueryIterator<T> findIterate() {
 return query.findIterate();
}

代码示例来源:origin: org.avaje/ebean

public QueryIterator<T> findIterate() {
 return query.findIterate();
}

代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public QueryIterator<T> findIterate() {
 return query.findIterate();
}

代码示例来源:origin: org.actframework/act-ebean-java7

@Override
public QueryIterator<MODEL_TYPE> findIterate() {
  QueryIterator<MODEL_TYPE> i = qReadOnly.findIterate();
  dao.registerQueryIterator(i);
  return i;
}

代码示例来源:origin: com.typesafe.play/play-java-ebean

public QueryIterator<T> findIterate() {
  return query().findIterate();
}

代码示例来源:origin: org.actframework/act-ebean-java7

public void consume($.Visitor<MODEL_TYPE> visitor) {
  QueryIterator<MODEL_TYPE> i = qReadOnly.findIterate();
  try {
    while (i.hasNext()) {
      MODEL_TYPE entity = i.next();
      visitor.visit(entity);
    }
  } finally {
    i.close();
  }
}

相关文章