Class AnalyticsDataset

java.lang.Object
com.couchbase.client.java.manager.analytics.AnalyticsDataset

public class AnalyticsDataset extends Object
Represents a dataset (or collection) in analytics.
  • Constructor Details

    • AnalyticsDataset

      @Internal public AnalyticsDataset(JsonObject json)
      Creates a new dataset from a raw JSON object.
      Parameters:
      json - the decoded JSON object.
  • Method Details

    • name

      public String name()
      Returns the name of the dataset (or collection).
      Returns:
      the name of the dataset (or collection).
    • dataverseName

      public String dataverseName()
      Returns the name of the dataverse in which this dataset is stored.
      Returns:
      the name of the dataverse.
    • json

      public JsonObject json()
      Returns the "raw" JSON returned from the analytics service.
      Returns:
      the "raw" JSON returned from the analytics service.
    • toString

      public String toString()
      Overrides:
      toString in class Object