Package | Description |
---|---|
com.couchbase.client.java.manager.view |
Modifier and Type | Method and Description |
---|---|
DesignDocument |
ViewIndexManager.getDesignDocument(String name,
DesignDocumentNamespace namespace)
Returns the design document from the cluster if present.
|
DesignDocument |
ViewIndexManager.getDesignDocument(String name,
DesignDocumentNamespace namespace,
GetDesignDocumentOptions options)
Returns the design document from the cluster if present with custom options.
|
DesignDocument |
DesignDocument.name(String name)
Assigns a new name to this design document.
|
DesignDocument |
DesignDocument.putView(String name,
String map)
Convenience method for adding a view to this design document (replacing any existing view with the same name).
|
DesignDocument |
DesignDocument.putView(String name,
String map,
String reduce)
Convenience method for adding a view to this design document (replacing any existing view with the same name).
|
DesignDocument |
DesignDocument.putView(String name,
View view)
Convenience method for adding a view to this design document (replacing any existing view with the same name).
|
DesignDocument |
DesignDocument.removeView(String name)
Removes the view with the give name, if it exists.
|
DesignDocument |
DesignDocument.views(Map<String,View> views)
Sets all of the views for this design document, overriding any existing views.
|
Modifier and Type | Method and Description |
---|---|
List<DesignDocument> |
ViewIndexManager.getAllDesignDocuments(DesignDocumentNamespace namespace)
Returns all of the design documents in the specified namespace.
|
Flux<DesignDocument> |
ReactiveViewIndexManager.getAllDesignDocuments(DesignDocumentNamespace namespace)
Returns all of the design documents in the specified namespace.
|
CompletableFuture<List<DesignDocument>> |
AsyncViewIndexManager.getAllDesignDocuments(DesignDocumentNamespace namespace)
Returns all of the design documents in the specified namespace.
|
List<DesignDocument> |
ViewIndexManager.getAllDesignDocuments(DesignDocumentNamespace namespace,
GetAllDesignDocumentsOptions options)
Returns all of the design documents in the specified namespace.
|
Flux<DesignDocument> |
ReactiveViewIndexManager.getAllDesignDocuments(DesignDocumentNamespace namespace,
GetAllDesignDocumentsOptions options)
Returns all of the design documents in the specified namespace.
|
CompletableFuture<List<DesignDocument>> |
AsyncViewIndexManager.getAllDesignDocuments(DesignDocumentNamespace namespace,
GetAllDesignDocumentsOptions options)
Returns all of the design documents in the specified namespace.
|
Mono<DesignDocument> |
ReactiveViewIndexManager.getDesignDocument(String name,
DesignDocumentNamespace namespace)
Returns the design document from the cluster if present.
|
CompletableFuture<DesignDocument> |
AsyncViewIndexManager.getDesignDocument(String name,
DesignDocumentNamespace namespace)
Returns the named design document from the specified namespace.
|
Mono<DesignDocument> |
ReactiveViewIndexManager.getDesignDocument(String name,
DesignDocumentNamespace namespace,
GetDesignDocumentOptions options)
Returns the design document from the cluster if present with custom options.
|
CompletableFuture<DesignDocument> |
AsyncViewIndexManager.getDesignDocument(String name,
DesignDocumentNamespace namespace,
GetDesignDocumentOptions options)
Returns the named design document from the specified namespace.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewIndexManager.upsertDesignDocument(DesignDocument designDocument,
DesignDocumentNamespace namespace)
Stores the design document on the server under the specified namespace, replacing any existing document
with the same name.
|
Mono<Void> |
ReactiveViewIndexManager.upsertDesignDocument(DesignDocument designDocument,
DesignDocumentNamespace namespace)
Stores the design document on the server under the specified namespace, replacing any existing document
with the same name.
|
CompletableFuture<Void> |
AsyncViewIndexManager.upsertDesignDocument(DesignDocument doc,
DesignDocumentNamespace namespace)
Stores the design document on the server under the specified namespace, replacing any existing document
with the same name.
|
void |
ViewIndexManager.upsertDesignDocument(DesignDocument designDocument,
DesignDocumentNamespace namespace,
UpsertDesignDocumentOptions options)
Stores the design document on the server under the specified namespace, replacing any existing document
with the same name.
|
Mono<Void> |
ReactiveViewIndexManager.upsertDesignDocument(DesignDocument designDocument,
DesignDocumentNamespace namespace,
UpsertDesignDocumentOptions options)
Stores the design document on the server under the specified namespace, replacing any existing document
with the same name.
|
CompletableFuture<Void> |
AsyncViewIndexManager.upsertDesignDocument(DesignDocument doc,
DesignDocumentNamespace namespace,
UpsertDesignDocumentOptions options)
Stores the design document on the server under the specified namespace, replacing any existing document
with the same name.
|
Copyright © 2020 Couchbase, Inc.. All rights reserved.