title: How to get Ignite Cache SQL Query to Return Value Object
body: <p>I have a Postgres database configured as my persistence layer and would like to execute SQL queries against the Postgres tables cached in Ignite.</p>
  <p>Ideally, I'd like to execute a query on these caches and be returned the Value objects represented by these tables.</p>
  <p>SqlQuery gives me the functionality that I am looking for but is deprecated.</p>
  <p><code>SqlFieldsQuery</code> would work, but I would prefer not to have to deal with the row data a List&lt;?&gt;.  Is there a way to get <code>SqlFieldsQuery</code> to return the value as an object and now as a list of its Fields?</p>
  <p>I thought Continuous query could be a possible alternative but I am not interested in listening to cache updates and it is not compatible with <code>SqlFieldsQuery</code>.</p>