mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
21 lines
475 B
Java
21 lines
475 B
Java
package io.ebean;
|
|
|
|
import java.util.List;
|
|
import java.util.concurrent.Future;
|
|
|
|
/**
|
|
* FutureIds represents the result of a background query execution for the Id's.
|
|
* <p>
|
|
* It extends the java.util.concurrent.Future with the ability to get the Id's
|
|
* while the query is still executing in the background.
|
|
* </p>
|
|
*/
|
|
public interface FutureIds<T> extends Future<List<Object>> {
|
|
|
|
/**
|
|
* Returns the original query used to fetch the Id's.
|
|
*/
|
|
Query<T> getQuery();
|
|
|
|
}
|