@@ -205,7 +205,8 @@ Stream<Object[]> query(@Nonnull final String query,
205205 * <p>
206206 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
207207 * <pre>
208- * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=$host", Map.of("host", "server-a"))) {
208+ * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=$host",
209+ * Map.of("host", "server-a"))) {
209210 * rows.forEach(row -> {
210211 * // process row
211212 * })
@@ -224,7 +225,8 @@ Stream<Object[]> query(@Nonnull final String query,
224225 * <p>
225226 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
226227 * <pre>
227- * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=intel", options)) {
228+ * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=intel",
229+ * options)) {
228230 * rows.forEach(row -> {
229231 * // process row
230232 * })
@@ -243,7 +245,8 @@ Stream<Object[]> query(@Nonnull final String query,
243245 * <p>
244246 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
245247 * <pre>
246- * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=$host", Map.of("host", "server-a"), options)) {
248+ * try (Stream<Map<String, Object>> rows = client.queryRows("select * from cpu where host=$host",
249+ * Map.of("host", "server-a"), options)) {
247250 * rows.forEach(row -> {
248251 * // process row
249252 * })
0 commit comments