Package io.ebean.service
Interface SpiFetchGroupService
-
public interface SpiFetchGroupService
Service that parses FetchGroup expressions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> FetchGroupBuilder<T>
of(Class<T> beanType)
Create and return a FetchGroupBuilder starting with a select() clause.<T> FetchGroup<T>
of(Class<T> beanType, String select)
Return the FetchGroup with the given select clause.<T> SpiFetchGroupQuery<T>
queryFor(Class<T> beanType)
Return a new FetchGroupQuery for building FetchGroup via query beans.
-
-
-
Method Detail
-
of
<T> FetchGroup<T> of(Class<T> beanType, String select)
Return the FetchGroup with the given select clause.- Parameters:
beanType
- The type of entity bean the fetch group is forselect
- The properties to select (top level properties)
-
of
<T> FetchGroupBuilder<T> of(Class<T> beanType)
Create and return a FetchGroupBuilder starting with a select() clause.- Parameters:
beanType
- The type of entity bean the fetch group is for- Returns:
- The FetchGroupBuilder to add additional select and fetch clauses
-
queryFor
<T> SpiFetchGroupQuery<T> queryFor(Class<T> beanType)
Return a new FetchGroupQuery for building FetchGroup via query beans.
-
-