@Converter(generateLoader=true) public final class MongoDbBasicConverters extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
fromDocumentToMap(org.bson.Document document) |
static org.bson.Document |
fromFileToDocument(File f,
org.apache.camel.Exchange exchange) |
static org.bson.Document |
fromInputStreamToDocument(InputStream is,
org.apache.camel.Exchange exchange) |
static org.bson.Document |
fromMapToDocument(Map<String,Object> map) |
static org.bson.Document |
fromStringToDocument(String s) |
static List<org.bson.conversions.Bson> |
fromStringToList(String value) |
@Converter public static org.bson.Document fromMapToDocument(Map<String,Object> map)
@Converter public static Map<String,Object> fromDocumentToMap(org.bson.Document document)
@Converter public static org.bson.Document fromStringToDocument(String s)
@Converter public static org.bson.Document fromFileToDocument(File f, org.apache.camel.Exchange exchange) throws Exception
Exception
@Converter public static org.bson.Document fromInputStreamToDocument(InputStream is, org.apache.camel.Exchange exchange) throws Exception
Exception
Apache Camel