Class MongoDbBasicConverters
java.lang.Object
org.apache.camel.component.mongodb.converters.MongoDbBasicConverters
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bson.Document
fromByteArrayToDocument
(byte[] data, org.apache.camel.Exchange exchange) 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
static List<org.bson.conversions.Bson>
fromStringToList
(String value) static org.bson.types.ObjectId
-
Method Details
-
fromMapToDocument
-
fromDocumentToMap
-
fromStringToDocument
-
fromStringToObjectId
-
fromFileToDocument
@Converter public static org.bson.Document fromFileToDocument(File f, org.apache.camel.Exchange exchange) throws Exception - Throws:
Exception
-
fromByteArrayToDocument
@Converter public static org.bson.Document fromByteArrayToDocument(byte[] data, org.apache.camel.Exchange exchange) throws Exception - Throws:
Exception
-
fromInputStreamToDocument
@Converter public static org.bson.Document fromInputStreamToDocument(InputStream is, org.apache.camel.Exchange exchange) throws Exception - Throws:
Exception
-
fromStringToList
-