@@ -187,15 +187,15 @@ Stream<Object[]> query(@Nonnull final String query,
187187 * <p>
188188 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
189189 * <pre>
190- * try (Stream<Map<String, Object>> rows = client.query ("select * from cpu where host=$host",;
190+ * try (Stream<Map<String, Object>> rows = client.queryRows ("select * from cpu where host=$host",
191191 * Map.of("host", "server-a"), options)) {
192192 * rows.forEach(row -> {
193193 * // process row
194194 * }
195195 * });
196196 * </pre>
197197 *
198- * @param query the query string to execute, cannot be null
198+ * @param query the query string to execute, cannot be null
199199 * @return Batches of rows returned by the query
200200 */
201201 @ Nonnull
@@ -206,15 +206,15 @@ Stream<Object[]> query(@Nonnull final String query,
206206 * <p>
207207 * The result stream should be closed after use, you can use try-resource pattern to close it automatically:
208208 * <pre>
209- * try (Stream<Map<String, Object>> rows = client.query ("select * from cpu where host=$host",;
209+ * try (Stream<Map<String, Object>> rows = client.queryRows ("select * from cpu where host=$host",
210210 * Map.of("host", "server-a"), options)) {
211211 * rows.forEach(row -> {
212212 * // process row
213213 * }
214214 * });
215215 * </pre>
216216 *
217- * @param query the query string to execute, cannot be null
217+ * @param query the query string to execute, cannot be null
218218 * @param parameters query named parameters
219219 * @return Batches of rows returned by the query
220220 */
@@ -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 options the options for querying data from InfluxDB
239239 * @return Batches of rows returned by the query
240240 */
@@ -246,7 +246,7 @@ 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
0 commit comments