org.springframework.data.mongodb.core.aggregation

Class PrefixingDelegatingAggregationOperationContext

  • java.lang.Object
    • org.springframework.data.mongodb.core.aggregation.PrefixingDelegatingAggregationOperationContext
  • All Implemented Interfaces:
    AggregationOperationContext


    public class PrefixingDelegatingAggregationOperationContext
    extends Object
    implements AggregationOperationContext
    AggregationOperationContext implementation prefixing non-command keys on root level with the given prefix. Useful when mapping fields to domain specific types while having to prefix keys for query purpose.

    Fields to be excluded from prefixing my be added to a blacklist.

    Since:
    2.1
    Author:
    Christoph Strobl, Mark Paluch