@@ -207,15 +207,15 @@ Stream<Object[]> query(@Nonnull final String query,
207207 * <p>
208208 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
209209 * <pre>
210- * try (Stream<Map<String, Object>> rows = client.query ("select * from cpu where host=$host",;
210+ * try (Stream<Map<String, Object>> rows = client.queryRows ("select * from cpu where host=$host",
211211 * Map.of("host", "server-a"), options)) {
212212 * rows.forEach(row -> {
213213 * // process row
214214 * }
215215 * });
216216 * </pre>
217217 *
218- * @param query the query string to execute, cannot be null
218+ * @param query the query string to execute, cannot be null
219219 * @return Batches of rows returned by the query
220220 */
221221 @ Nonnull
@@ -226,15 +226,15 @@ Stream<Object[]> query(@Nonnull final String query,
226226 * <p>
227227 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
228228 * <pre>
229- * try (Stream<Map<String, Object>> rows = client.query ("select * from cpu where host=$host",;
229+ * try (Stream<Map<String, Object>> rows = client.queryRows ("select * from cpu where host=$host",
230230 * Map.of("host", "server-a"), options)) {
231231 * rows.forEach(row -> {
232232 * // process row
233233 * }
234234 * });
235235 * </pre>
236236 *
237- * @param query the query string to execute, cannot be null
237+ * @param query the query string to execute, cannot be null
238238 * @param parameters query named parameters
239239 * @return Batches of rows returned by the query
240240 */
@@ -246,15 +246,15 @@ Stream<Object[]> query(@Nonnull final String query,
246246 * <p>
247247 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
248248 * <pre>
249- * try (Stream<Map<String, Object>> rows = client.query ("select * from cpu where host=$host",;
249+ * try (Stream<Map<String, Object>> rows = client.queryRows ("select * from cpu where host=$host",
250250 * Map.of("host", "server-a"), options)) {
251251 * rows.forEach(row -> {
252252 * // process row
253253 * }
254254 * });
255255 * </pre>
256256 *
257- * @param query the query string to execute, cannot be null
257+ * @param query the query string to execute, cannot be null
258258 * @param options the options for querying data from InfluxDB
259259 * @return Batches of rows returned by the query
260260 */
@@ -266,7 +266,7 @@ Stream<Object[]> query(@Nonnull final String query,
266266 * <p>
267267 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
268268 * <pre>
269- * try (Stream<Map<String, Object>> rows = client.query ("select * from cpu where host=$host",;
269+ * try (Stream<Map<String, Object>> rows = client.queryRows ("select * from cpu where host=$host",
270270 * Map.of("host", "server-a"), options)) {
271271 * rows.forEach(row -> {
272272 * // process row
0 commit comments