public class RelaxedTypeBasedAggregationOperationContext extends TypeBasedAggregationOperationContext
TypeBasedAggregationOperationContext with less restrictive field reference handling, suppressing
InvalidPersistentPropertyPath exceptions when resolving mapped field names.| Constructor and Description |
|---|
RelaxedTypeBasedAggregationOperationContext(Class<?> type,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext,
QueryMapper mapper)
Creates a new
TypeBasedAggregationOperationContext for the given type, MappingContext and
QueryMapper. |
| Modifier and Type | Method and Description |
|---|---|
protected ExposedFields.FieldReference |
getReferenceFor(Field field) |
continueOnMissingFieldReference, continueOnMissingFieldReference, getFields, getMappedObject, getMappedObject, getReference, getReference, getTypepublic RelaxedTypeBasedAggregationOperationContext(Class<?> type, MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext, QueryMapper mapper)
TypeBasedAggregationOperationContext for the given type, MappingContext and
QueryMapper.type - must not be null.mappingContext - must not be null.mapper - must not be null.protected ExposedFields.FieldReference getReferenceFor(Field field)
getReferenceFor in class TypeBasedAggregationOperationContextCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.