001package io.ebean;
002
003import java.util.List;
004import java.util.concurrent.Future;
005
006/**
007 * FutureIds represents the result of a background query execution for the Id's.
008 * <p>
009 * It extends the java.util.concurrent.Future with the ability to get the Id's
010 * while the query is still executing in the background.
011 * </p>
012 */
013public interface FutureIds<T> extends Future<List<Object>> {
014
015  /**
016   * Returns the original query used to fetch the Id's.
017   */
018  Query<T> getQuery();
019
020}