|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.mongodb.core.aggregation.ExposedFieldsAggregationOperationContext
public abstract class ExposedFieldsAggregationOperationContext
Support class to implement AggregationOperations that will become an AggregationOperationContext as
well defining ExposedFields.
| Constructor Summary | |
|---|---|
ExposedFieldsAggregationOperationContext()
|
|
| Method Summary | |
|---|---|
protected abstract ExposedFields |
getFields()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExposedFieldsAggregationOperationContext()
| Method Detail |
|---|
public com.mongodb.DBObject getMappedObject(com.mongodb.DBObject dbObject)
AggregationOperationContextDBObject, potentially converting the source considering mapping metadata etc.
getMappedObject in interface AggregationOperationContextdbObject - will never be null.
public org.springframework.data.mongodb.core.aggregation.ExposedFields.FieldReference getReference(Field field)
AggregationOperationContextExposedFields.FieldReference for the given field or null if the context does not expose the given
field.
getReference in interface AggregationOperationContextfield - must not be null.
public org.springframework.data.mongodb.core.aggregation.ExposedFields.FieldReference getReference(String name)
AggregationOperationContextExposedFields.FieldReference for the field with the given name or null if the context does not
expose a field with the given name.
getReference in interface AggregationOperationContextname - must not be null or empty.
protected abstract ExposedFields getFields()
|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||