title: $elemMatch equivalent in spring data mongodb
body: <p>I need to know the equivalent code in spring data mongo db to the code below:-</p>
  
  <pre><code>db.inventory.find( {
                       qty: { $all: [
                                      { "$elemMatch" : { size: "M", num: { $gt: 50} } },
                                      { "$elemMatch" : { num : 100, color: "green" } }
                                    ] }
                     } )
  </code></pre>