Interface MongoCollectionNameProvider
- All Known Implementing Classes:
DefaultMongoCollectionNameProvider
public interface MongoCollectionNameProvider
The MongoDB collection name provider.
- Since:
- 3.9.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionprovide(PersistentEntity persistentEntity) Provides the MongoDB collection name based on thePersistentEntity.
-
Method Details
-
provide
Provides the MongoDB collection name based on thePersistentEntity.- Parameters:
persistentEntity- The persistent entity that is associated to the collection- Returns:
- The collection name
-