Class AnalyticsIndex

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

public class AnalyticsIndex extends Object
Represents an index in analytics.
  • Constructor Details Link icon

    • AnalyticsIndex Link icon

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

    • name Link icon

      public String name()
      Returns the name of the analytics index.
      Returns:
      the name of the analytics index.
    • primary Link icon

      public boolean primary()
      Returns true if this index is a primary index.
      Returns:
      true if this index is a primary index.
    • datasetName Link icon

      public String datasetName()
      Returns the name of the Dataset (collection) this index is part of.
      Returns:
      the name of the Dataset (collection) this index is part of.
    • dataverseName Link icon

      public String dataverseName()
      Returns the name of the dataverse.
      Returns:
      the name of the dataverse.
    • raw Link icon

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

      public String toString()
      Overrides:
      toString in class Object