#1460 - ENH: Add FetchGroup ... as a mechanism to specify select() + fetch() separately from Query

Change to add generics for FetchGroup
This commit is contained in:
rob bygrave
2018-08-06 21:30:36 +12:00
parent 6d0556a120
commit d4be0718a8
@@ -41,19 +41,19 @@ public interface FetchGroupBuilder<T> {
* Fetch the path with the nested fetch group.
*/
@Nonnull
FetchGroupBuilder<T> fetch(String path, FetchGroup nestedGroup);
FetchGroupBuilder<T> fetch(String path, FetchGroup<?> nestedGroup);
/**
* Fetch the path using a query join with the nested fetch group.
*/
@Nonnull
FetchGroupBuilder<T> fetchQuery(String path, FetchGroup nestedGroup);
FetchGroupBuilder<T> fetchQuery(String path, FetchGroup<?> nestedGroup);
/**
* Fetch the path lazily with the nested fetch group.
*/
@Nonnull
FetchGroupBuilder<T> fetchLazy(String path, FetchGroup nestedGroup);
FetchGroupBuilder<T> fetchLazy(String path, FetchGroup<?> nestedGroup);
/**
* Fetch the path including specified properties.