Module io.ebean.api
Package io.ebean

Interface FetchPath

All Known Implementing Classes:
PathProperties

public interface FetchPath
Provides paths and properties for an object graph that can be used to control what parts of the object graph is fetching (select and fetch clauses) and also can be used to control JSON marshalling (what parts of the object graph are included in the JSON).
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> void
    apply(Query<T> query)
    Apply the fetch path to the query.
    Return the properties at the given path.
    boolean
    Return true if the path is included in this FetchPath.
  • Method Details

    • hasPath

      boolean hasPath(String path)
      Return true if the path is included in this FetchPath.
    • getProperties

      Set<String> getProperties(String path)
      Return the properties at the given path.
    • apply

      <T> void apply(Query<T> query)
      Apply the fetch path to the query.