public abstract class AnalyticsLink extends Object
Modifier | Constructor and Description |
---|---|
protected |
AnalyticsLink(String name,
String dataverse)
Creates a new
AnalyticsLink . |
Modifier and Type | Method and Description |
---|---|
static CouchbaseRemoteAnalyticsLink |
couchbaseRemote(String linkName,
String dataverseName)
Static factory method to create a remote Couchbase link.
|
String |
dataverse()
Returns the name of the dataverse in which this link is stored.
|
String |
name()
Returns the name of the analytics link.
|
static S3ExternalAnalyticsLink |
s3(String linkName,
String dataverseName)
Static factory method to create an S3 link.
|
Map<String,String> |
toMap()
Returns an (internal) representation of this link as a map.
|
abstract AnalyticsLinkType |
type()
Returns the type of the link.
|
protected AnalyticsLink(String name, String dataverse)
AnalyticsLink
.name
- the name of the link.dataverse
- the dataverse in which this link is stored.@SinceCouchbase(value="7.0") public static S3ExternalAnalyticsLink s3(String linkName, String dataverseName)
Please note that additional parameters are required and must be set on S3ExternalAnalyticsLink
in order
for a S3 link to work properly.
linkName
- the name of the link.dataverseName
- the dataverse name inside which the link exists.public static CouchbaseRemoteAnalyticsLink couchbaseRemote(String linkName, String dataverseName)
linkName
- the name of the link.dataverseName
- the dataverse name inside which the link exists.public abstract AnalyticsLinkType type()
public String name()
public String dataverse()
Copyright © 2024 Couchbase, Inc.. All rights reserved.