All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.service.SpiFetchGroupService Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.service;

import io.ebean.FetchGroup;
import io.ebean.FetchGroupBuilder;

/**
 * Service that parses FetchGroup expressions.
 */
public interface SpiFetchGroupService extends BootstrapService {

  /**
   * Return the FetchGroup with the given select clause.
   *
   * @param beanType The type of entity bean the fetch group is for
   * @param select   The properties to select (top level properties)
   */
   FetchGroup of(Class beanType, String select);

  /**
   * Create and return a FetchGroupBuilder starting with a select() clause.
   *
   * @param beanType The type of entity bean the fetch group is for
   * @return The FetchGroupBuilder to add additional select and fetch clauses
   */
   FetchGroupBuilder of(Class beanType);

  /**
   * Return a new FetchGroupQuery for building FetchGroup via query beans.
   */
   SpiFetchGroupQuery queryFor(Class beanType);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy