io.prediction.data.storage.mongodb
Convert custom attributes Map into MongoDBObject and add prefix "ca_" eg.
Convert custom attributes Map into MongoDBObject and add prefix "ca_" eg. from attributes = Map("gender" -> "female", "member" -> "gold") to MongoDBObject("ca_gender" : "female", "ca_member" : "gold" )
Converts BasicDBList to List of String.
Modified from Salat.
Empty MongoDBObject.
Extract custom attributes (with prefix "ca_") from DBObject, strip prefix and create Map[String, Any]
Appends App ID to any ID.
Appends App ID to any ID. Used for distinguishing different app's data within a single collection.
Converts MongoDBList to List of Boolean.
Converts MongoDBList to List of Double.
Converts MongoDBList to List of String.