Class DriverHelper

java.lang.Object
de.caluga.morphium.driver.mongodb.DriverHelper

public class DriverHelper extends Object
helper class
  • 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

      public static void replaceBsonValues(List<Doc> in)
    • replaceBsonValues

      public static void replaceBsonValues(Doc m)
    • replaceBsonValuesIdInList

      public static void replaceBsonValuesIdInList(List<Object> in)
    • replaceBsonValuesInArray

      public static void replaceBsonValuesInArray(Object o)
    • replaceBsonValuesInCollection

      public static Collection<Object> replaceBsonValuesInCollection(Collection<Object> collection)
    • replaceMorphiumIdByObjectId

      public static void replaceMorphiumIdByObjectId(List<Map<String,Object>> in)
    • replaceMorphiumIdByObjectId

      public static void replaceMorphiumIdByObjectId(Map<String,Object> m)
    • replaceMorphiumIdByObjectIdInList

      public static void replaceMorphiumIdByObjectIdInList(List<Object> in)
    • replaceMorphiumIdByObjectIdInArray

      public static void replaceMorphiumIdByObjectIdInArray(Object o)
    • replaceMorphiumIdByObjectIdInCollection

      public static Collection<Object> replaceMorphiumIdByObjectIdInCollection(Collection<Object> collection)