Uses of Class
com.couchbase.client.java.manager.view.DesignDocument
-
Packages that use DesignDocument Package Description com.couchbase.client.java.manager.view -
-
Uses of DesignDocument in com.couchbase.client.java.manager.view
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 that return types with arguments of type DesignDocument Modifier and Type Method Description CompletableFuture<List<DesignDocument>>
AsyncViewIndexManager. getAllDesignDocuments(DesignDocumentNamespace namespace)
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.Flux<DesignDocument>
ReactiveViewIndexManager. getAllDesignDocuments(DesignDocumentNamespace namespace)
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.List<DesignDocument>
ViewIndexManager. 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.CompletableFuture<DesignDocument>
AsyncViewIndexManager. getDesignDocument(String name, DesignDocumentNamespace namespace)
Returns the named design document from the specified namespace.CompletableFuture<DesignDocument>
AsyncViewIndexManager. getDesignDocument(String name, DesignDocumentNamespace namespace, GetDesignDocumentOptions options)
Returns the named design document from the specified namespace.Mono<DesignDocument>
ReactiveViewIndexManager. getDesignDocument(String name, DesignDocumentNamespace namespace)
Returns the design document from the cluster if present.Mono<DesignDocument>
ReactiveViewIndexManager. getDesignDocument(String name, DesignDocumentNamespace namespace, GetDesignDocumentOptions options)
Returns the design document from the cluster if present with custom options.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.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.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.
-