mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
27 lines
536 B
Java
27 lines
536 B
Java
package io.ebeanservice.docstore.api;
|
|
|
|
import io.ebean.text.json.JsonReadOptions;
|
|
import io.ebeaninternal.api.SpiQuery;
|
|
|
|
/**
|
|
* A Query request for the document store.
|
|
*/
|
|
public interface DocQueryRequest<T> {
|
|
|
|
/**
|
|
* Return the query for this request.
|
|
*/
|
|
SpiQuery<T> getQuery();
|
|
|
|
/**
|
|
* Create JsonReadOptions taking into account persistence context and lazy loading support.
|
|
*/
|
|
JsonReadOptions createJsonReadOptions();
|
|
|
|
/**
|
|
* Execute secondary queries.
|
|
*/
|
|
void executeSecondaryQueries(boolean forEach);
|
|
|
|
}
|