Interface FetchBuilder
- All Superinterfaces:
GraphNodeBuilder
- All Known Subinterfaces:
FetchBuilderBasicValued, LegacyFetchBuilder
@Incubating(since="8.0")
@SPI({USE,IMPLEMENT,SUPPLY})
public interface FetchBuilder
extends GraphNodeBuilder
Responsible for building a single
Fetch instance.
Given the following HQL for illustration,
select b from Book b join fetch b.authors
we have a single fetch : `Book(b).authors`- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuildFetch(FetchParent parent, NavigablePath fetchPath, JdbcValuesMetadata jdbcResultsMetadata, DomainResultCreationState domainResultCreationState) Builds and supplies one fetch node.default voidvisitFetchBuilders(BiConsumer<Fetchable, FetchBuilder> consumer) Supplies nested fetch builders to the visitor.
-
Method Details
-
visitFetchBuilders
Supplies nested fetch builders to the visitor.- See Also:
-
cacheKeyInstance
FetchBuilder cacheKeyInstance()