Interface CassandraRepositoryFragmentsContributor
- All Superinterfaces:
RepositoryFragmentsContributor
Cassandra-specific
RepositoryFragmentsContributor contributing fragments based on the repository.
Implementations must define a no-args constructor.
- Since:
- 5.0
- Author:
- Chris Bono
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns a composedCassandraRepositoryFragmentsContributorthat first applies this contributor to its inputs, and then applies theaftercontributor concatenating effectively both results.contribute(RepositoryMetadata metadata, CassandraEntityInformation<?, ?> entityInformation, CassandraOperations operations) CreatesRepositoryComposition.RepositoryFragmentsbased onRepositoryMetadatato add Cassandra-specific extensions.Methods inherited from interface RepositoryFragmentsContributor
describe
-
Field Details
-
DEFAULT
-
-
Method Details
-
andThen
default CassandraRepositoryFragmentsContributor andThen(CassandraRepositoryFragmentsContributor after) Returns a composedCassandraRepositoryFragmentsContributorthat 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, CassandraEntityInformation<?, ?> entityInformation, CassandraOperations operations) CreatesRepositoryComposition.RepositoryFragmentsbased onRepositoryMetadatato add Cassandra-specific extensions.- Parameters:
metadata- repository metadata.entityInformation- must not be null.operations- must not be null.- Returns:
RepositoryComposition.RepositoryFragmentsto be added to the repository.
-