Interface QueryableStore.Result<T>

Type Parameters:
T - The type of the queried objects.
Enclosing interface:
QueryableStore<T>

public static interface QueryableStore.Result<T>
The result of a query that was built by QueryableStore.Query.withIds(). It contains the parent ids of the found objects in addition to the objects and their ids themselves.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the found object itself.
    Returns the id of the found object.
    getParentId(Class<?> clazz)
    Returns the parent ids of the found objects.
  • Method Details

    • getParentId

      Optional<String> getParentId(Class<?> clazz)
      Returns the parent ids of the found objects. The parent ids are ordered in the same way as their types are specified in the @QueryableType annotation for the queried type.
    • getId

      String getId()
      Returns the id of the found object.
    • getEntity

      T getEntity()
      Returns the found object itself.