title: How to search value in Dataset<Row> in java spark?
body: <p>My Dataset&lt; Row &gt; (java spark) input is :</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: left;">Heros</th>
  <th style="text-align: center;">Powers</th>
  <th style="text-align: right;">Rank</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: left;">Superman</td>
  <td style="text-align: center;">Invisible</td>
  <td style="text-align: right;">1</td>
  </tr>
  <tr>
  <td style="text-align: left;">Batman</td>
  <td style="text-align: center;">Strength</td>
  <td style="text-align: right;">2</td>
  </tr>
  <tr>
  <td style="text-align: left;">SpiderMan</td>
  <td style="text-align: center;">Strong</td>
  <td style="text-align: right;">3</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>By knowing the name of my heros, i would like to retrieve the rank.
  For exemple for Superman, i would like to have the return 1, not all the line but just the value.
  I don't know how to do by using a spark dataset. Thank for your help !</p>