Class DriverHelper
java.lang.Object
de.caluga.morphium.driver.mongodb.DriverHelper
helper class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> VdoCall(MorphiumDriverOperation<V> r, int maxRetry, int sleep) static voidstatic voidreplaceBsonValues(List<Doc> in) static voidstatic voidstatic Collection<Object>replaceBsonValuesInCollection(Collection<Object> collection) static voidstatic voidstatic voidstatic Collection<Object>replaceMorphiumIdByObjectIdInCollection(Collection<Object> collection) static void
-
Constructor Details
-
DriverHelper
public DriverHelper()
-
-
Method Details
-
doCall
public static <V> V doCall(MorphiumDriverOperation<V> r, int maxRetry, int sleep) throws MorphiumDriverException - Throws:
MorphiumDriverException
-
replaceBsonValues
-
replaceBsonValues
-
replaceBsonValuesIdInList
-
replaceBsonValuesInArray
-
replaceBsonValuesInCollection
-
replaceMorphiumIdByObjectId
-
replaceMorphiumIdByObjectId
-
replaceMorphiumIdByObjectIdInList
-
replaceMorphiumIdByObjectIdInArray
-
replaceMorphiumIdByObjectIdInCollection
public static Collection<Object> replaceMorphiumIdByObjectIdInCollection(Collection<Object> collection)
-