@@ -166,6 +166,8 @@ public interface Cancellable {
166
166
* Note that batch processing needs to be explicitly stopped before the application is shutdown.
167
167
* To do so call disableBatch().
168
168
*
169
+ * @param batchOptions
170
+ * the options to set for batching the writes.
169
171
* @return the InfluxDB instance to be able to use it in a fluent manner.
170
172
*/
171
173
public InfluxDB enableBatch (final BatchOptions batchOptions );
@@ -551,8 +553,8 @@ public void query(Query query, int chunkSize, BiConsumer<Cancellable, QueryResul
551
553
*
552
554
* @param name
553
555
* the name of the new database.
554
- * @deprecated (since 2.9, removed in 3.0) Use <tt >org.influxdb.InfluxDB.query(Query)</tt> to execute a parameterized
555
- * <strong>CREATE DATABASE</strong> query.
556
+ * @deprecated (since 2.9, removed in 3.0) Use <code >org.influxdb.InfluxDB.query(Query)</code>
557
+ * to execute a parameterized <strong>CREATE DATABASE</strong> query.
556
558
*/
557
559
@ Deprecated
558
560
public void createDatabase (final String name );
@@ -562,8 +564,8 @@ public void query(Query query, int chunkSize, BiConsumer<Cancellable, QueryResul
562
564
*
563
565
* @param name
564
566
* the name of the database to delete.
565
- * @deprecated (since 2.9, removed in 3.0) Use <tt >org.influxdb.InfluxDB.query(Query)</tt> to execute a
566
- * <strong>DROP DATABASE</strong> query.
567
+ * @deprecated (since 2.9, removed in 3.0) Use <code >org.influxdb.InfluxDB.query(Query)</code>
568
+ * to execute a <strong>DROP DATABASE</strong> query.
567
569
*/
568
570
@ Deprecated
569
571
public void deleteDatabase (final String name );
@@ -572,8 +574,8 @@ public void query(Query query, int chunkSize, BiConsumer<Cancellable, QueryResul
572
574
* Describe all available databases.
573
575
*
574
576
* @return a List of all Database names.
575
- * @deprecated (since 2.9, removed in 3.0) Use <tt >org.influxdb.InfluxDB.query(Query)</tt> to execute a
576
- * <strong>SHOW DATABASES</strong> query.
577
+ * @deprecated (since 2.9, removed in 3.0) Use <code >org.influxdb.InfluxDB.query(Query)</code>
578
+ * to execute a <strong>SHOW DATABASES</strong> query.
577
579
*/
578
580
@ Deprecated
579
581
public List <String > describeDatabases ();
@@ -585,8 +587,8 @@ public void query(Query query, int chunkSize, BiConsumer<Cancellable, QueryResul
585
587
* the name of the database to search.
586
588
*
587
589
* @return true if the database exists or false if it doesn't exist
588
- * @deprecated (since 2.9, removed in 3.0) Use <tt >org.influxdb.InfluxDB.query(Query)</tt> to execute a
589
- * <strong>SHOW DATABASES</strong> query and inspect the result.
590
+ * @deprecated (since 2.9, removed in 3.0) Use <code >org.influxdb.InfluxDB.query(Query)</code>
591
+ * to execute a <strong>SHOW DATABASES</strong> query and inspect the result.
590
592
*/
591
593
@ Deprecated
592
594
public boolean databaseExists (final String name );
@@ -639,8 +641,8 @@ public void query(Query query, int chunkSize, BiConsumer<Cancellable, QueryResul
639
641
* @param shardDuration the shardDuration
640
642
* @param replicationFactor the replicationFactor of the rp
641
643
* @param isDefault if the rp is the default rp for the database or not
642
- * @deprecated (since 2.9, removed in 3.0) Use <tt >org.influxdb.InfluxDB.query(Query)</tt> to execute a parameterized
643
- * <strong>CREATE RETENTION POLICY</strong> query.
644
+ * @deprecated (since 2.9, removed in 3.0) Use <code >org.influxdb.InfluxDB.query(Query)</code>
645
+ * to execute a parameterized <strong>CREATE RETENTION POLICY</strong> query.
644
646
*/
645
647
@ Deprecated
646
648
public void createRetentionPolicy (final String rpName , final String database , final String duration ,
@@ -653,8 +655,8 @@ public void createRetentionPolicy(final String rpName, final String database, fi
653
655
* @param duration the duration of the rp
654
656
* @param replicationFactor the replicationFactor of the rp
655
657
* @param isDefault if the rp is the default rp for the database or not
656
- * @deprecated (since 2.9, removed in 3.0) Use <tt >org.influxdb.InfluxDB.query(Query)</tt> to execute a parameterized
657
- * <strong>CREATE RETENTION POLICY</strong> query.
658
+ * @deprecated (since 2.9, removed in 3.0) Use <code >org.influxdb.InfluxDB.query(Query)</code>
659
+ * to execute a parameterized <strong>CREATE RETENTION POLICY</strong> query.
658
660
*/
659
661
@ Deprecated
660
662
public void createRetentionPolicy (final String rpName , final String database , final String duration ,
@@ -667,8 +669,8 @@ public void createRetentionPolicy(final String rpName, final String database, fi
667
669
* @param duration the duration of the rp
668
670
* @param shardDuration the shardDuration
669
671
* @param replicationFactor the replicationFactor of the rp
670
- * @deprecated (since 2.9, removed in 3.0) Use <tt >org.influxdb.InfluxDB.query(Query)</tt> to execute a parameterized
671
- * <strong>CREATE RETENTION POLICY</strong> query.
672
+ * @deprecated (since 2.9, removed in 3.0) Use <code >org.influxdb.InfluxDB.query(Query)</code>
673
+ * to execute a parameterized <strong>CREATE RETENTION POLICY</strong> query.
672
674
*/
673
675
@ Deprecated
674
676
public void createRetentionPolicy (final String rpName , final String database , final String duration ,
@@ -678,8 +680,8 @@ public void createRetentionPolicy(final String rpName, final String database, fi
678
680
* Drops a retentionPolicy in a database.
679
681
* @param rpName the name of the retentionPolicy
680
682
* @param database the name of the database
681
- * @deprecated (since 2.9, removed in 3.0) Use <tt >org.influxdb.InfluxDB.query(Query)</tt> to execute a
682
- * <strong>DROP RETENTION POLICY</strong> query.
683
+ * @deprecated (since 2.9, removed in 3.0) Use <code >org.influxdb.InfluxDB.query(Query)</code>
684
+ * to execute a <strong>DROP RETENTION POLICY</strong> query.
683
685
*/
684
686
@ Deprecated
685
687
public void dropRetentionPolicy (final String rpName , final String database );
0 commit comments