Package | Description |
---|---|
com.couchbase.client.java.manager.view |
Modifier and Type | Method and Description |
---|---|
Optional<View> |
DesignDocument.getView(String name)
Returns the view with the given name, if it exists.
|
Map<String,View> |
DesignDocument.views()
Returns the views in this document indexed by name.
|
Modifier and Type | Method and Description |
---|---|
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).
|
Modifier and Type | Method and Description |
---|---|
DesignDocument |
DesignDocument.views(Map<String,View> views)
Sets all of the views for this design document, overriding any existing views.
|
Constructor and Description |
---|
DesignDocument(String name,
Map<String,View> views)
Creates a new design document with the given name and views.
|
Copyright © 2020 Couchbase, Inc.. All rights reserved.