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 Summary
Constructors Constructor Description AnalyticsDataset(JsonObject json)Creates a new dataset from a raw JSON object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdataverseName()Returns the name of the dataverse in which this dataset is stored.JsonObjectjson()Returns the "raw" JSON returned from the analytics service.Stringname()Returns the name of the dataset (or collection).StringtoString()
-
-
-
Constructor Detail
-
AnalyticsDataset
@Internal public AnalyticsDataset(JsonObject json)
Creates a new dataset from a raw JSON object.- Parameters:
json- the decoded JSON object.
-
-
Method Detail
-
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.
-
-