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.3.1")
public class RelaxedTypeBasedAggregationOperationContext
extends TypeBasedAggregationOperationContext
Deprecated.
since 4.3.1
A
TypeBasedAggregationOperationContext
with less restrictive field reference handling, suppressing
InvalidPersistentPropertyPath
exceptions when resolving mapped field names.- Since:
- 3.0
- Author:
- Christoph Strobl
-
Constructor Summary
ConstructorDescriptionRelaxedTypeBasedAggregationOperationContext
(Class<?> type, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext, QueryMapper mapper) Deprecated.Creates a newTypeBasedAggregationOperationContext
for the given type,MappingContext
andQueryMapper
. -
Method Summary
Methods inherited from class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
continueOnMissingFieldReference, continueOnMissingFieldReference, expose, getCodecRegistry, getFields, getMappedObject, getMappedObject, getReference, getReference, getReferenceFor, getType, inheritAndExpose
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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 newTypeBasedAggregationOperationContext
for the given type,MappingContext
andQueryMapper
.- Parameters:
type
- must not be null.mappingContext
- must not be null.mapper
- must not be null.
-