public interface AggregationOperationContext
AggregationOperation.| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
getMappedObject(com.mongodb.DBObject dbObject)
Returns the mapped
DBObject, potentially converting the source considering mapping metadata etc. |
org.springframework.data.mongodb.core.aggregation.ExposedFields.FieldReference |
getReference(Field field)
Returns a
ExposedFields.FieldReference for the given field or null if the context does not expose the given
field. |
org.springframework.data.mongodb.core.aggregation.ExposedFields.FieldReference |
getReference(String name)
Returns the
ExposedFields.FieldReference for the field with the given name or null if the context does not
expose a field with the given name. |
com.mongodb.DBObject getMappedObject(com.mongodb.DBObject dbObject)
DBObject, potentially converting the source considering mapping metadata etc.dbObject - will never be null.org.springframework.data.mongodb.core.aggregation.ExposedFields.FieldReference getReference(Field field)
ExposedFields.FieldReference for the given field or null if the context does not expose the given
field.field - must not be null.org.springframework.data.mongodb.core.aggregation.ExposedFields.FieldReference getReference(String name)
ExposedFields.FieldReference for the field with the given name or null if the context does not
expose a field with the given name.name - must not be null or empty.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.