title: Consume the results of Neo4j driver in java
body: <p>Using Neo4j driver for java, i want to send a search query to the database such as:</p>
  <pre><code>MATCH(a:`Label`{Property:&quot;NODE_PROPERTY&quot;})
  RETURN *
  </code></pre>
  <p>First i create a session and the i use the run methods of the driver to run a query:</p>
  <pre><code>Result run = session.run(query);
  </code></pre>
  <p>run variable contains a list of Records. My question is how can i consume the records so that i can convert them to java objects? I tried to get the values of the results but since they're not iterable, it's not possible to get them one by one.</p>