Interface MongoCollectionNameProvider

  • All Known Implementing Classes:
    DefaultMongoCollectionNameProvider

    public interface MongoCollectionNameProvider
    The MongoDB collection name provider.
    Since:
    3.9.0
    Author:
    Denis Stepanov
    • Method Detail

      • provide

        @NonNull
        java.lang.String provide​(@NonNull
                                 PersistentEntity persistentEntity)
        Provides the MongoDB collection name based on the PersistentEntity.
        Parameters:
        persistentEntity - The persistent entity that is associated to the collection
        Returns:
        The collection name