Module io.ebean.api

Interface SpiFetchGroupService


public interface SpiFetchGroupService
Service that parses FetchGroup expressions.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    queryFor(Class<T> beanType)
    Return a new FetchGroupQuery for building FetchGroup via query beans.
  • Method Details

    • 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 for
      select - 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.