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

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

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

Query.findFutureIds介绍

[英]Execute find Id's query in a background thread.

This returns a Future object which can be used to cancel, check the execution status (isDone etc) and get the value (with or without a timeout).
[中]在后台线程中执行find Id的查询。
这将返回一个未来的对象,可用于取消、检查执行状态(isDone等)和获取值(有或没有超时)。

代码示例

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

@Override
public FutureIds<T> findFutureIds() {
 return rootQuery.findFutureIds();
}

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

@Override
public FutureIds<T> findFutureIds() {
 return query.findFutureIds();
}

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

@Override
public FutureIds<MODEL_TYPE> findFutureIds() {
  return qReadOnly.findFutureIds();
}

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

@Override
public FutureIds<T> findFutureIds() {
 return query.findFutureIds();
}

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

@Override
public FutureIds<MODEL_TYPE> findFutureIds() {
  return q.findFutureIds();
}

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

@Override
public FutureIds<T> findFutureIds() {
 return rootQuery.findFutureIds();
}

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

/**
 * Execute find Id's query in a background thread.
 * <p>
 * This returns a Future object which can be used to cancel, check the
 * execution status (isDone etc) and get the value (with or without a
 * timeout).
 * </p>
 *
 * @return a Future object for the list of Id's
 */
@Nonnull
public FutureIds<T> findFutureIds() {
 return query.findFutureIds();
}

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

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

相关文章

Query类方法