Class EventingFunctionKeyspace
java.lang.Object
com.couchbase.client.java.manager.eventing.EventingFunctionKeyspace
A keyspace represents a triple of bucket, scope and collection.
- 
Method SummaryModifier and TypeMethodDescriptionbucket()The name of the bucket.The name of the collection.static EventingFunctionKeyspacecreate(Collection collection) Creates a keyspace by extracting bucket, scope and collection from the collection instance.static EventingFunctionKeyspaceCreates a keyspace with a bucket name and default scope and default collection.static EventingFunctionKeyspaceCreates a keyspace with a bucket name, collection name and default scope.static EventingFunctionKeyspaceCreates a keyspace with bucket name, scope name and collection name.scope()The name of the scope.toString()
- 
Method Details- 
createCreates a keyspace with a bucket name and default scope and default collection.- Parameters:
- bucket- the name of the bucket.
- Returns:
- the created keyspace for the eventing function.
 
- 
createCreates a keyspace with a bucket name, collection name and default scope.- Parameters:
- bucket- the name of the bucket.
- collection- the name of the collection.
- Returns:
- the created keyspace for the eventing function.
 
- 
createCreates a keyspace with bucket name, scope name and collection name.- Parameters:
- bucket- the name of the bucket.
- scope- the name of the scope.
- collection- the name of the collection.
- Returns:
- the created keyspace for the eventing function.
 
- 
createCreates a keyspace by extracting bucket, scope and collection from the collection instance.- Parameters:
- collection- the collection from where to extract the properties.
- Returns:
- the created keyspace for the eventing function.
 
- 
bucketThe name of the bucket.
- 
scopeThe name of the scope.
- 
collectionThe name of the collection.
- 
toString
 
-