Package org.grails.datastore.bson.query
Interface BsonQuery.ProjectionHandler<T extends org.grails.datastore.mapping.query.Query.Projection>
-
- Type Parameters:
T-
- Enclosing class:
- BsonQuery
protected static interface BsonQuery.ProjectionHandler<T extends org.grails.datastore.mapping.query.Query.Projection>Handles a projection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringhandle(org.grails.datastore.mapping.model.PersistentEntity entity, org.bson.Document projectObject, org.bson.Document groupByObject, T projection)Handles a projection modifying the aggregation pipeline appropriately
-
-
-
Method Detail
-
handle
java.lang.String handle(org.grails.datastore.mapping.model.PersistentEntity entity, org.bson.Document projectObject, org.bson.Document groupByObject, T projection)Handles a projection modifying the aggregation pipeline appropriately- Parameters:
entity- The entitygroupByObject- The group by objectprojection- The projection- Returns:
- The key to be used to obtain the projected value from the pipeline results
-
-