Class AnalyticsLink
java.lang.Object
com.couchbase.client.java.manager.analytics.link.AnalyticsLink
- Direct Known Subclasses:
- CouchbaseRemoteAnalyticsLink,- RawExternalAnalyticsLink,- S3ExternalAnalyticsLink
Represents a Link to an external datasource that is connected with the Analytics service.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAnalyticsLink(String name, String dataverse) Creates a newAnalyticsLink.
- 
Method SummaryModifier and TypeMethodDescriptionstatic CouchbaseRemoteAnalyticsLinkcouchbaseRemote(String linkName, String dataverseName) Static factory method to create a remote Couchbase link.Returns the name of the dataverse in which this link is stored.name()Returns the name of the analytics link.static S3ExternalAnalyticsLinkStatic factory method to create an S3 link.toMap()Returns an (internal) representation of this link as a map.abstract AnalyticsLinkTypetype()Returns the type of the link.
- 
Constructor Details- 
AnalyticsLinkCreates a newAnalyticsLink.- Parameters:
- name- the name of the link.
- dataverse- the dataverse in which this link is stored.
 
 
- 
- 
Method Details- 
s3@SinceCouchbase("7.0") public static S3ExternalAnalyticsLink s3(String linkName, String dataverseName) Static factory method to create an S3 link.Please note that additional parameters are required and must be set on S3ExternalAnalyticsLinkin order for a S3 link to work properly.- Parameters:
- linkName- the name of the link.
- dataverseName- the dataverse name inside which the link exists.
- Returns:
- the created link instance.
 
- 
couchbaseRemoteStatic factory method to create a remote Couchbase link.- Parameters:
- linkName- the name of the link.
- dataverseName- the dataverse name inside which the link exists.
- Returns:
- the created link instance.
 
- 
typeReturns the type of the link.- Returns:
- the type of the link.
 
- 
nameReturns the name of the analytics link.- Returns:
- the name of the link.
 
- 
dataverseReturns the name of the dataverse in which this link is stored.- Returns:
- the name of the dataverse.
 
- 
toMapReturns an (internal) representation of this link as a map.- Returns:
- a map representation of this link.
 
 
-