org.springframework.data.mongodb.core.query

Class UntypedExampleMatcher

  • java.lang.Object
    • org.springframework.data.mongodb.core.query.UntypedExampleMatcher
  • All Implemented Interfaces:
    ExampleMatcher


    public class UntypedExampleMatcher
    extends Object
    implements ExampleMatcher
    ExampleMatcher implementation for query by example (QBE). Unlike plain ExampleMatcher this untyped counterpart does not enforce type matching when executing the query. This allows to query unrelated example documents as references for querying collections as long as the used field/property names match.
    Since:
    2.0
    Author:
    Christoph Strobl, Mark Paluch