public final class

DBObjects

extends Object
java.lang.Object
   ↳ org.mule.module.mongo.api.DBObjects

Class Overview

Conversions between JSon Strings and Maps into DBObjects

Summary

Fields
private static final Pattern OBJECT_ID_PATTERN
Public Methods
static Object adapt(Object o)
static DBObject from(Object o)
static DBObject fromCommand(String commandName, String commandValue)
static DBObject fromFunction(String function, DBObject dbObject)
static DBObject fromMap(Map<String, Object> map)
Performs a shallow conversion of a map into a DBObject: values of type Map will not be converted
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private static final Pattern OBJECT_ID_PATTERN

Public Methods

public static Object adapt (Object o)

Parameters
o

public static DBObject from (Object o)

Parameters
o

public static DBObject fromCommand (String commandName, String commandValue)

Parameters
commandName
commandValue

public static DBObject fromFunction (String function, DBObject dbObject)

Parameters
function
dbObject

public static DBObject fromMap (Map<String, Object> map)

Performs a shallow conversion of a map into a DBObject: values of type Map will not be converted

Parameters
map