Package | Description |
---|---|
com.couchbase.client.java.manager.eventing |
Modifier and Type | Method and Description |
---|---|
EventingFunction |
EventingFunction.Builder.build()
Builds the immutable
EventingFunction . |
static EventingFunction |
EventingFunction.create(String name,
String code,
EventingFunctionKeyspace sourceKeyspace,
EventingFunctionKeyspace metadataKeyspace)
Creates a new
EventingFunction with the minimal required properties. |
static EventingFunction |
EventingFunction.fromFunction(byte[] encoded)
Creates a
EventingFunction from a raw JSON. |
EventingFunction |
EventingFunctionManager.getFunction(String name)
Retrieves a
EventingFunction by its name. |
EventingFunction |
EventingFunctionManager.getFunction(String name,
GetFunctionOptions options)
Retrieves a
EventingFunction by its name with custom options. |
Modifier and Type | Method and Description |
---|---|
static List<EventingFunction> |
EventingFunction.fromExportedFunctions(byte[] encoded)
Creates a list of
EventingFunction s from a raw JSON, usually exported from the server UI. |
CompletableFuture<List<EventingFunction>> |
AsyncEventingFunctionManager.getAllFunctions()
Retrieves all
EventingFunctions currently stored on the server. |
List<EventingFunction> |
EventingFunctionManager.getAllFunctions()
Retrieves all
EventingFunctions currently stored on the server. |
Flux<EventingFunction> |
ReactiveEventingFunctionManager.getAllFunctions()
Retrieves all
EventingFunctions currently stored on the server. |
CompletableFuture<List<EventingFunction>> |
AsyncEventingFunctionManager.getAllFunctions(GetAllFunctionsOptions options)
Retrieves all
EventingFunctions currently stored on the server with custom options. |
List<EventingFunction> |
EventingFunctionManager.getAllFunctions(GetAllFunctionsOptions options)
Retrieves all
EventingFunctions currently stored on the server with custom options. |
Flux<EventingFunction> |
ReactiveEventingFunctionManager.getAllFunctions(GetAllFunctionsOptions options)
Retrieves all
EventingFunctions currently stored on the server with custom options. |
CompletableFuture<EventingFunction> |
AsyncEventingFunctionManager.getFunction(String name)
Retrieves a
EventingFunction by its name. |
Mono<EventingFunction> |
ReactiveEventingFunctionManager.getFunction(String name)
Retrieves a
EventingFunction by its name. |
CompletableFuture<EventingFunction> |
AsyncEventingFunctionManager.getFunction(String name,
GetFunctionOptions options)
Retrieves a
EventingFunction by its name with custom options. |
Mono<EventingFunction> |
ReactiveEventingFunctionManager.getFunction(String name,
GetFunctionOptions options)
Retrieves a
EventingFunction by its name with custom options. |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
AsyncEventingFunctionManager.upsertFunction(EventingFunction function)
Inserts or replaces a
EventingFunction . |
void |
EventingFunctionManager.upsertFunction(EventingFunction function)
Inserts or replaces a
EventingFunction . |
Mono<Void> |
ReactiveEventingFunctionManager.upsertFunction(EventingFunction function)
Inserts or replaces a
EventingFunction . |
CompletableFuture<Void> |
AsyncEventingFunctionManager.upsertFunction(EventingFunction function,
UpsertFunctionOptions options)
Inserts or replaces a
EventingFunction with custom options. |
void |
EventingFunctionManager.upsertFunction(EventingFunction function,
UpsertFunctionOptions options)
Inserts or replaces a
EventingFunction with custom options. |
Mono<Void> |
ReactiveEventingFunctionManager.upsertFunction(EventingFunction function,
UpsertFunctionOptions options)
Inserts or replaces a
EventingFunction with custom options. |
Copyright © 2024 Couchbase, Inc.. All rights reserved.