Package org.mongojack
Class Aggregation.Match
- java.lang.Object
-
- org.mongojack.DBQuery.AbstractBuilder<Aggregation.Match>
-
- org.mongojack.Aggregation.Match
-
- All Implemented Interfaces:
org.bson.conversions.Bson
,Aggregation.Stage<Void>
,InitializationRequiredForTransformation
- Enclosing class:
- Aggregation<T>
public static class Aggregation.Match extends DBQuery.AbstractBuilder<Aggregation.Match> implements Aggregation.Stage<Void>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.fasterxml.jackson.databind.JavaType type, JacksonCodecRegistry codecRegistry)
protected Aggregation.Match
put(String field, String op, QueryCondition value)
protected Aggregation.Match
put(String op, QueryCondition value)
protected Aggregation.Match
putGroup(String op, DBQuery.Query... expressions)
DBQuery.Query
query()
Aggregation.Stage<Void>
set(String field, Void value)
Aggregation.Stage<Void>
set(Map<String,Void> fields)
<TDocument>
org.bson.BsonDocumenttoBsonDocument(Class<TDocument> tDocumentClass, org.bson.codecs.configuration.CodecRegistry codecRegistry)
-
Methods inherited from class org.mongojack.DBQuery.AbstractBuilder
all, all, and, elemMatch, exists, greaterThan, greaterThanEquals, in, in, is, lessThan, lessThanEquals, mod, nor, notEquals, notExists, notIn, notIn, or, put, regex, size, where
-
-
-
-
Method Detail
-
put
protected Aggregation.Match put(String op, QueryCondition value)
- Specified by:
put
in classDBQuery.AbstractBuilder<Aggregation.Match>
-
put
protected Aggregation.Match put(String field, String op, QueryCondition value)
- Specified by:
put
in classDBQuery.AbstractBuilder<Aggregation.Match>
-
putGroup
protected Aggregation.Match putGroup(String op, DBQuery.Query... expressions)
- Specified by:
putGroup
in classDBQuery.AbstractBuilder<Aggregation.Match>
-
set
public Aggregation.Stage<Void> set(String field, Void value)
- Specified by:
set
in interfaceAggregation.Stage<Void>
-
set
public Aggregation.Stage<Void> set(Map<String,Void> fields)
- Specified by:
set
in interfaceAggregation.Stage<Void>
-
query
public DBQuery.Query query()
-
toBsonDocument
public <TDocument> org.bson.BsonDocument toBsonDocument(Class<TDocument> tDocumentClass, org.bson.codecs.configuration.CodecRegistry codecRegistry)
- Specified by:
toBsonDocument
in interfaceorg.bson.conversions.Bson
-
initialize
public void initialize(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.fasterxml.jackson.databind.JavaType type, JacksonCodecRegistry codecRegistry)
- Specified by:
initialize
in interfaceInitializationRequiredForTransformation
-
-