Package org.nuxeo.directory.mongodb
Class MongoDBSession.MongoDBDirectoryQueryBuilder
java.lang.Object
org.nuxeo.ecm.core.storage.mongodb.MongoDBAbstractQueryBuilder
org.nuxeo.directory.mongodb.MongoDBSession.MongoDBDirectoryQueryBuilder
- Enclosing class:
- MongoDBSession
MongoDB Query Builder that knows how to resolved directory properties.
- Since:
- 10.3
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.core.storage.mongodb.MongoDBAbstractQueryBuilder
MongoDBAbstractQueryBuilder.FieldInfo
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.storage.mongodb.MongoDBAbstractQueryBuilder
converter, DATE_CAST, elemMatchPrefix, expression, LIKE_ANCHORED_PROP, likeAnchored, LONG_ONE, LONG_ZERO, MINUS_ONE, ONE, query, SLASH_WILDCARD_SLASH
-
Constructor Summary
ConstructorDescriptionMongoDBDirectoryQueryBuilder
(MongoDBConverter converter, Expression expression) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bson.Document
newDocumentWithField
(MongoDBAbstractQueryBuilder.FieldInfo fieldInfo, Object value) protected org.bson.Document
walkOrderBy
(OrderByList orderByList) protected MongoDBAbstractQueryBuilder.FieldInfo
walkReference
(String name) Walks a reference, and returns field info about it.Methods inherited from class org.nuxeo.ecm.core.storage.mongodb.MongoDBAbstractQueryBuilder
checkDateLiteralForCast, checkDateLiteralForCast, getMongoDBPrefix, getQuery, pushDownNot, stripElemMatchPrefix, walk, walkAndOr, walkAndOr, walkAndOrMultiExpression, walkBetween, walkBooleanLiteral, walkDateLiteral, walkDoubleLiteral, walkEq, walkEq, walkExpression, walkFunction, walkGt, walkGtEq, walkIn, walkIn, walkIntegerLiteral, walkIsNotNull, walkIsNull, walkLike, walkLiteral, walkLiteralList, walkLt, walkLtEq, walkNot, walkNotEq, walkNotEq, walkOperand, walkOperandList, walkReference, walkReference, walkStringLiteral
-
Constructor Details
-
MongoDBDirectoryQueryBuilder
-
-
Method Details
-
newDocumentWithField
protected org.bson.Document newDocumentWithField(MongoDBAbstractQueryBuilder.FieldInfo fieldInfo, Object value) - Overrides:
newDocumentWithField
in classMongoDBAbstractQueryBuilder
-
walkReference
Description copied from class:MongoDBAbstractQueryBuilder
Walks a reference, and returns field info about it.- Specified by:
walkReference
in classMongoDBAbstractQueryBuilder
-
walkOrderBy
-