public class BsonHelper extends Object
| Constructor and Description |
|---|
BsonHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendToDocument(Object document,
String fieldName,
Object value) |
static Boolean |
documentContainsField(Object document,
String field) |
static Set<String> |
documentKeys(Object document) |
static String |
getType(Object bsonType) |
static Object |
getTypeFromAlias(String alias) |
static Object |
getTypeFromNumber(Integer number) |
static Object |
getValue(Object document,
String fieldName) |
static Boolean |
isDocument(Object value) |
static Set<String> |
keySet(Object document) |
static Object |
newDocument(Object document) |
Copyright © 2016–2024. All rights reserved.