Package io.ebeaninternal.server.query
Class DFetchGroupService
- java.lang.Object
-
- io.ebeaninternal.server.query.DFetchGroupService
-
- All Implemented Interfaces:
SpiFetchGroupService
public final class DFetchGroupService extends Object implements SpiFetchGroupService
Default implementation of SpiFetchGroupService.
-
-
Constructor Summary
Constructors Constructor Description DFetchGroupService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> FetchGroupBuilder<T>
of(Class<T> cls)
Create and return a FetchGroupBuilder starting with a select() clause.<T> FetchGroup<T>
of(Class<T> cls, 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.
-
-
-
Constructor Detail
-
DFetchGroupService
public DFetchGroupService()
-
-
Method Detail
-
of
public <T> FetchGroup<T> of(Class<T> cls, String select)
Description copied from interface:SpiFetchGroupService
Return the FetchGroup with the given select clause.- Specified by:
of
in interfaceSpiFetchGroupService
- Parameters:
cls
- The type of entity bean the fetch group is forselect
- The properties to select (top level properties)
-
of
public <T> FetchGroupBuilder<T> of(Class<T> cls)
Description copied from interface:SpiFetchGroupService
Create and return a FetchGroupBuilder starting with a select() clause.- Specified by:
of
in interfaceSpiFetchGroupService
- Parameters:
cls
- The type of entity bean the fetch group is for- Returns:
- The FetchGroupBuilder to add additional select and fetch clauses
-
queryFor
public <T> SpiFetchGroupQuery<T> queryFor(Class<T> beanType)
Description copied from interface:SpiFetchGroupService
Return a new FetchGroupQuery for building FetchGroup via query beans.- Specified by:
queryFor
in interfaceSpiFetchGroupService
-
-