org.springframework.data.mongodb.core.convert

Class MongoExampleMapper

  • java.lang.Object
    • org.springframework.data.mongodb.core.convert.MongoExampleMapper
    • Method Detail

      • getMappedExample

        public org.bson.Document getMappedExample(Example<?> example)
        Returns the given Example as Document holding matching values extracted from Example.getProbe().
        Parameters:
        example - must not be null.
        Returns:
      • getMappedExample

        public org.bson.Document getMappedExample(Example<?> example,
                                                  MongoPersistentEntity<?> entity)
        Returns the given Example as Document holding matching values extracted from Example.getProbe().
        Parameters:
        example - must not be null.
        entity - must not be null.
        Returns: