本文整理了Java中com.avaje.ebean.Query.findIterate
方法的一些代码示例,展示了Query.findIterate
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.findIterate
方法的具体详情如下:
包路径:com.avaje.ebean.Query
类名称: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();
}
}
内容来源于网络,如有侵权,请联系作者删除!