public class AnalyticsIndex
extends Object
Represents an index in analytics.
-
Constructor Summary
Constructors
Creates a new dataset from a raw JSON object.
-
Method Summary
Returns the name of the Dataset (collection) this index is part of.
Returns the name of the dataverse.
Returns the name of the analytics index.
boolean
Returns true if this index is a primary index.
Returns the "raw" JSON returned from the analytics service.
-
Constructor Details
-
AnalyticsIndex
Creates a new dataset from a raw JSON object.
- Parameters:
raw
- the decoded JSON object.
-
Method Details
-
name
Returns the name of the analytics index.
- Returns:
- the name of the analytics index.
-
primary
public boolean primary()
Returns true if this index is a primary index.
- Returns:
- true if this index is a primary index.
-
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
Returns the name of the dataverse.
- Returns:
- the name of the dataverse.
-
raw
Returns the "raw" JSON returned from the analytics service.
- Returns:
- the "raw" JSON returned from the analytics service.
-