|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AggregationOperationContext
The context for an AggregationOperation.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||