public class DriverHelper extends Object
| Constructor and Description |
|---|
DriverHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <V> V |
doCall(MorphiumDriverOperation<V> r,
int maxRetry,
int sleep) |
static void |
replaceBsonValues(List<Map<String,Object>> in) |
static void |
replaceBsonValues(Map<String,Object> m) |
static void |
replaceBsonValuesIdInList(List<Object> in) |
static void |
replaceBsonValuesInArray(Object o) |
static Collection<Object> |
replaceBsonValuesInCollection(Collection<Object> collection) |
static void |
replaceMorphiumIdByObjectId(List<Map<String,Object>> in) |
static void |
replaceMorphiumIdByObjectId(Map<String,Object> m) |
static void |
replaceMorphiumIdByObjectIdInArray(Object o) |
static Collection<Object> |
replaceMorphiumIdByObjectIdInCollection(Collection<Object> collection) |
static void |
replaceMorphiumIdByObjectIdInList(List<Object> in) |
public static <V> V doCall(MorphiumDriverOperation<V> r, int maxRetry, int sleep) throws MorphiumDriverException
MorphiumDriverExceptionpublic static void replaceBsonValuesInArray(Object o)
public static Collection<Object> replaceBsonValuesInCollection(Collection<Object> collection)
public static void replaceMorphiumIdByObjectId(List<Map<String,Object>> in)
public static void replaceMorphiumIdByObjectIdInList(List<Object> in)
public static void replaceMorphiumIdByObjectIdInArray(Object o)
public static Collection<Object> replaceMorphiumIdByObjectIdInCollection(Collection<Object> collection)
Copyright © 2022. All rights reserved.