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
public class MongoDBSession.MongoDBDirectoryQueryBuilder extends MongoDBAbstractQueryBuilder
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
Constructors Constructor Description MongoDBDirectoryQueryBuilder(MongoDBConverter converter, Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, 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 Detail
-
MongoDBDirectoryQueryBuilder
public MongoDBDirectoryQueryBuilder(MongoDBConverter converter, Expression expression)
-
-
Method Detail
-
newDocumentWithField
protected org.bson.Document newDocumentWithField(MongoDBAbstractQueryBuilder.FieldInfo fieldInfo, Object value)
- Overrides:
newDocumentWithField
in classMongoDBAbstractQueryBuilder
-
walkReference
protected MongoDBAbstractQueryBuilder.FieldInfo walkReference(String name)
Description copied from class:MongoDBAbstractQueryBuilder
Walks a reference, and returns field info about it.- Specified by:
walkReference
in classMongoDBAbstractQueryBuilder
-
walkOrderBy
protected org.bson.Document walkOrderBy(OrderByList orderByList)
-
-