io.ebean.Query.findFutureList()方法的使用及代码示例

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

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

Query.findFutureList介绍

[英]Execute find list query in a background thread.

This query will execute in it's own PersistenceContext and using its own transaction. What that means is that it will not share any bean instances with other queries.
[中]在后台线程中执行查找列表查询。
此查询将在自己的PersistenceContext中执行,并使用自己的事务。这意味着它不会与其他查询共享任何bean实例。

代码示例

代码示例来源:origin: ebean-orm/ebean

@Override
public FutureList<T> findFutureList() {
 return query.findFutureList();
}

代码示例来源:origin: ebean-orm/ebean

@Override
public FutureList<T> findFutureList() {
 return rootQuery.findFutureList();
}

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

@Override
public FutureList<MODEL_TYPE> findFutureList() {
  return qReadOnly.findFutureList();
}

代码示例来源:origin: io.ebean/ebean

@Override
public FutureList<T> findFutureList() {
 return rootQuery.findFutureList();
}

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

@Override
public FutureList<MODEL_TYPE> findFutureList() {
  return q.findFutureList();
}

代码示例来源:origin: io.ebean/ebean

@Override
public FutureList<T> findFutureList() {
 return query.findFutureList();
}

代码示例来源:origin: io.ebean/ebean-querybean

/**
 * Execute find list query in a background thread.
 * <p>
 * This query will execute in it's own PersistenceContext and using its own transaction.
 * What that means is that it will not share any bean instances with other queries.
 * </p>
 *
 * @return a Future object for the list result of the query
 */
@Nonnull
public FutureList<T> findFutureList() {
 return query.findFutureList();
}

代码示例来源:origin: icode/ameba

/**
 * Executes a find list query in a background thread.
 *
 * @return a {@link io.ebean.FutureList} object.
 */
public FutureList<T> findFutureList() {
  return query().findFutureList();
}

相关文章

Query类方法