@@ -225,7 +225,8 @@ Stream<Object[]> query(@Nonnull final String query,
225225 * <p>
226226 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
227227 * <pre>
228- * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=$host", Map.of("host", "server-a"))) {
228+ * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=$host",
229+ * Map.of("host", "server-a"))) {
229230 * rows.forEach(row -> {
230231 * // process row
231232 * })
@@ -244,7 +245,8 @@ Stream<Object[]> query(@Nonnull final String query,
244245 * <p>
245246 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
246247 * <pre>
247- * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=intel", options)) {
248+ * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=intel",
249+ * options)) {
248250 * rows.forEach(row -> {
249251 * // process row
250252 * })
@@ -263,7 +265,8 @@ Stream<Object[]> query(@Nonnull final String query,
263265 * <p>
264266 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
265267 * <pre>
266- * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=$host", Map.of("host", "server-a"), options)) {
268+ * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=$host",
269+ * Map.of("host", "server-a"), options)) {
267270 * rows.forEach(row -> {
268271 * // process row
269272 * })
0 commit comments