Interface ReactiveMongoRepositoryFragmentsContributor
- All Superinterfaces:
RepositoryFragmentsContributor
Reactive MongoDB-specific
RepositoryFragmentsContributor contributing fragments based on the repository.
Implementations must define a no-args constructor.
- Since:
- 5.0
- Author:
- Mark Paluch
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns a composedReactiveMongoRepositoryFragmentsContributorthat first applies this contributor to its inputs, and then applies theaftercontributor concatenating effectively both results.contribute(RepositoryMetadata metadata, MongoEntityInformation<?, ?> entityInformation, ReactiveMongoOperations operations) CreatesRepositoryComposition.RepositoryFragmentsbased onRepositoryMetadatato add MongoDB-specific extensions.Methods inherited from interface RepositoryFragmentsContributor
describe
-
Field Details
-
DEFAULT
-
-
Method Details
-
andThen
default ReactiveMongoRepositoryFragmentsContributor andThen(ReactiveMongoRepositoryFragmentsContributor after) Returns a composedReactiveMongoRepositoryFragmentsContributorthat first applies this contributor to its inputs, and then applies theaftercontributor concatenating effectively both results. If evaluation of either contributors throws an exception, it is relayed to the caller of the composed contributor.- Parameters:
after- the contributor to apply after this contributor is applied.- Returns:
- a composed contributor that first applies this contributor and then applies the
aftercontributor.
-
contribute
RepositoryComposition.RepositoryFragments contribute(RepositoryMetadata metadata, MongoEntityInformation<?, ?> entityInformation, ReactiveMongoOperations operations) CreatesRepositoryComposition.RepositoryFragmentsbased onRepositoryMetadatato add MongoDB-specific extensions.- Parameters:
metadata- repository metadata.entityInformation- must not be null.operations- must not be null.- Returns:
RepositoryComposition.RepositoryFragmentsto be added to the repository.
-