Class DropDatasetAnalyticsOptions

java.lang.Object
com.couchbase.client.java.CommonOptions<DropDatasetAnalyticsOptions>
com.couchbase.client.java.manager.analytics.DropDatasetAnalyticsOptions

public class DropDatasetAnalyticsOptions extends CommonOptions<DropDatasetAnalyticsOptions>
Allows customizing how datasets are dropped.
  • Method Details

    • dropDatasetAnalyticsOptions

      public static DropDatasetAnalyticsOptions dropDatasetAnalyticsOptions()
      Creates a new instance with default values.
      Returns:
      the instantiated default options.
    • ignoreIfNotExists

      public DropDatasetAnalyticsOptions ignoreIfNotExists(boolean ignore)
      Customizes if a non-existing dataset should throw an exception or not (false by default, so it will throw).
      Parameters:
      ignore - true if no exception should be raised if the dataset does not exist.
      Returns:
      this options class for chaining purposes.
    • dataverseName

      public DropDatasetAnalyticsOptions dataverseName(String dataverseName)
      Customizes the dataverse from which this dataset should be dropped.
      Parameters:
      dataverseName - the name of the dataverse.
      Returns:
      this options class for chaining purposes.
    • build