Interface DeleteApi

All Known Implementing Classes:
DeleteApiImpl

@ThreadSafe public interface DeleteApi
API to Delete time-series data from InfluxDB 2.x.
Author:
Pavlina Rolincova (rolincova@github) (25/10/2019).
  • Method Details

    • delete

      void delete(@Nonnull OffsetDateTime start, @Nonnull OffsetDateTime stop, @Nonnull String predicate, @Nonnull Bucket bucket, @Nonnull Organization org)
      Delete Time series data from InfluxDB.
      Parameters:
      start - time
      stop - time
      predicate - sql where like delete statement.
      bucket - The bucket from which data will be deleted.
      org - The organization of the above bucket.
    • delete

      void delete(@Nonnull OffsetDateTime start, @Nonnull OffsetDateTime stop, @Nonnull String predicate, @Nonnull String bucket, @Nonnull String org)
      Delete Time series data from InfluxDB.
      Parameters:
      start - time
      stop - time
      predicate - sql where like delete statement.
      bucket - The bucket from which data will be deleted.
      org - The organization of the above bucket.
    • delete

      void delete(@Nonnull DeletePredicateRequest predicate, @Nonnull String bucket, @Nonnull String org)
      Delete Time series data from InfluxDB.
      Parameters:
      predicate - delete request.
      bucket - The bucket from which data will be deleted.
      org - The organization of the above bucket.