Package | Description |
---|---|
com.couchbase.client.java.manager.eventing |
Modifier and Type | Method and Description |
---|---|
static EventingFunctionKeyspace |
EventingFunctionKeyspace.create(Collection collection)
Creates a keyspace by extracting bucket, scope and collection from the collection instance.
|
static EventingFunctionKeyspace |
EventingFunctionKeyspace.create(String bucket)
Creates a keyspace with a bucket name and default scope and default collection.
|
static EventingFunctionKeyspace |
EventingFunctionKeyspace.create(String bucket,
String collection)
Creates a keyspace with a bucket name, collection name and default scope.
|
static EventingFunctionKeyspace |
EventingFunctionKeyspace.create(String bucket,
String scope,
String collection)
Creates a keyspace with bucket name, scope name and collection name.
|
EventingFunctionKeyspace |
EventingFunctionBucketBinding.keyspace()
Returns the keyspace triple this bucket is accessing.
|
EventingFunctionKeyspace |
EventingFunction.metadataKeyspace()
The keyspace where eventing stores the metadata for the function.
|
EventingFunctionKeyspace |
EventingFunction.sourceKeyspace()
The source keyspace where the actual data is accessed from.
|
Modifier and Type | Method and Description |
---|---|
static EventingFunction.Builder |
EventingFunction.builder(String name,
String code,
EventingFunctionKeyspace sourceKeyspace,
EventingFunctionKeyspace metadataKeyspace)
Creates a
EventingFunction.Builder that can be used to further customize the EventingFunction beyond the defaults. |
static EventingFunction |
EventingFunction.create(String name,
String code,
EventingFunctionKeyspace sourceKeyspace,
EventingFunctionKeyspace metadataKeyspace)
Creates a new
EventingFunction with the minimal required properties. |
static EventingFunctionBucketBinding |
EventingFunctionBucketBinding.createReadOnly(String alias,
EventingFunctionKeyspace keyspace)
Creates a read-only bucket binding.
|
static EventingFunctionBucketBinding |
EventingFunctionBucketBinding.createReadWrite(String alias,
EventingFunctionKeyspace keyspace)
Creates a read-write bucket binding.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.