public final class Helper extends Object
Modifier and Type | Method and Description |
---|---|
static com.mongodb.DBCollection |
getCollection(Query q) |
static com.mongodb.DBObject |
getCriteria(Query q) |
static com.mongodb.DBCursor |
getCursor(Iterable it) |
static com.mongodb.DB |
getDB(Datastore ds) |
static com.mongodb.DBObject |
getFields(Query q) |
static com.mongodb.DBObject |
getSort(Query q) |
static com.mongodb.DBObject |
getUpdateOperations(UpdateOperations ops) |
public static com.mongodb.DBObject getCriteria(Query q)
public static com.mongodb.DBObject getSort(Query q)
public static com.mongodb.DBObject getFields(Query q)
public static com.mongodb.DBCollection getCollection(Query q)
public static com.mongodb.DBCursor getCursor(Iterable it)
public static com.mongodb.DBObject getUpdateOperations(UpdateOperations ops)
public static com.mongodb.DB getDB(Datastore ds)
Copyright © 2016. All rights reserved.