public class MongoDBQueryDescriptor extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
MongoDBQueryDescriptor.Operation |
| Constructor and Description |
|---|
MongoDBQueryDescriptor(String collectionName,
MongoDBQueryDescriptor.Operation operation,
com.mongodb.DBObject criteria,
com.mongodb.DBObject projection,
com.mongodb.DBObject orderBy) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionName()
The name of the collection to select from.
|
com.mongodb.DBObject |
getCriteria()
Criteria describing the records to apply this query to.
|
MongoDBQueryDescriptor.Operation |
getOperation() |
com.mongodb.DBObject |
getOrderBy() |
com.mongodb.DBObject |
getProjection()
The fields to be selected, if this query doesn't return all fields of the entity.
|
String |
toString() |
public MongoDBQueryDescriptor(String collectionName, MongoDBQueryDescriptor.Operation operation, com.mongodb.DBObject criteria, com.mongodb.DBObject projection, com.mongodb.DBObject orderBy)
public String getCollectionName()
public MongoDBQueryDescriptor.Operation getOperation()
public com.mongodb.DBObject getCriteria()
public com.mongodb.DBObject getProjection()
keys
parameter of the MongoDB find API.public com.mongodb.DBObject getOrderBy()
Copyright © 2010-2014 Hibernate. All Rights Reserved.