Package org.springframework.data.mongodb
Class MongoCollectionUtils
java.lang.Object
org.springframework.data.mongodb.MongoCollectionUtils
Helper class featuring helper methods for working with MongoDb collections.
Mainly intended for internal use within the framework.
Mainly intended for internal use within the framework.
- Since:
- 1.0
- Author:
- Thomas Risberg
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPreferredCollectionName
(Class<?> entityClass) Obtains the collection name to use for the provided class
-
Method Details
-
getPreferredCollectionName
Obtains the collection name to use for the provided class- Parameters:
entityClass
- The class to determine the preferred collection name for- Returns:
- The preferred collection name
-