2121/**
2222 * The result of running a statement, a stream of records. The result interface can be used to iterate over all the
2323 * records in the stream, and for each record to access the fields within it using the {@link #get(int) get} methods.
24- * <p>
24+ *
2525 * Results are valid until the next statement is run or until the end of the current transaction, whichever comes
2626 * first.
27- * <p>
27+ *
2828 * To keep a result around while further statements are run, or to use a result outside the scope of the current
2929 * transaction, see {@link #retain()}.
3030 */
@@ -33,7 +33,7 @@ public interface Result
3333 /**
3434 * Retrieve and store the entire result stream. This can be used if you want to
3535 * iterate over the stream multiple times or to store the whole result for later use.
36- * <p>
36+ *
3737 * This cannot be used if you have already started iterating through the stream using {@link #next()}.
3838 *
3939 * @return {@link org.neo4j.driver.ReusableResult}
@@ -73,9 +73,9 @@ public interface Result
7373
7474 /**
7575 * Retrieve the first field of the next record in the stream, and close the stream.
76- * <p>
76+ *
7777 * This is a utility for the common case of statements that are expected to yield a single output value.
78- * <p>
78+ *
7979 * <pre>
8080 * {@code
8181 * Record record = statement.run( "MATCH (n:User {uid:..}) RETURN n.name" ).single();
@@ -89,9 +89,9 @@ public interface Result
8989
9090 /**
9191 * Summarize the result
92- * <p>
92+ *
9393 * Any remaining (unprocessed) result records will be consumed.
94- * <p>
94+ *
9595 * <pre class="doctest:ResultDocIT#summarizeUsage">
9696 * {@code
9797 * ResultSummary summary = session.run( "PROFILE MATCH (n:User {id: 12345}) RETURN n" ).summarize();
0 commit comments