Module spring.data.mongodb
Class RelaxedTypeBasedAggregationOperationContext
java.lang.Object
org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
org.springframework.data.mongodb.core.aggregation.RelaxedTypeBasedAggregationOperationContext
- All Implemented Interfaces:
CodecRegistryProvider,AggregationOperationContext
@Deprecated(since="4.2.7")
public class RelaxedTypeBasedAggregationOperationContext
extends TypeBasedAggregationOperationContext
Deprecated.
since 4.2.7
A
TypeBasedAggregationOperationContext with less restrictive field reference handling, suppressing
InvalidPersistentPropertyPath exceptions when resolving mapped field names.- Since:
- 3.0
- Author:
- Christoph Strobl
-
Constructor Summary
ConstructorsConstructorDescriptionRelaxedTypeBasedAggregationOperationContext(Class<?> type, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext, QueryMapper mapper) Deprecated.Creates a newTypeBasedAggregationOperationContextfor the given type,MappingContextandQueryMapper. -
Method Summary
Methods inherited from class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
continueOnMissingFieldReference, continueOnMissingFieldReference, expose, getCodecRegistry, getFields, getMappedObject, getMappedObject, getReference, getReference, getReferenceFor, getType, inheritAndExposeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.mongodb.CodecRegistryProvider
getCodecFor, hasCodecFor
-
Constructor Details
-
RelaxedTypeBasedAggregationOperationContext
public RelaxedTypeBasedAggregationOperationContext(Class<?> type, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext, QueryMapper mapper) Deprecated.Creates a newTypeBasedAggregationOperationContextfor the given type,MappingContextandQueryMapper.- Parameters:
type- must not be null.mappingContext- must not be null.mapper- must not be null.
-