-
Methods in com.couchbase.client.java.manager.view that return DesignDocument
Modifier and Type |
Method |
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,
View view) |
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) |
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.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.
|
Methods in com.couchbase.client.java.manager.view with parameters of type DesignDocument
Modifier and Type |
Method |
Description |
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.
|
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.
|
reactor.core.publisher.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.
|
reactor.core.publisher.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.
|
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.
|
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.
|