Package | Description |
---|---|
com.couchbase.client.java.view |
Modifier and Type | Class and Description |
---|---|
class |
DefaultView
Implementation of a regular, non spatial view.
|
class |
SpatialView
Implementation of a spatial view.
|
Modifier and Type | Method and Description |
---|---|
static View |
SpatialView.create(String name,
String map)
Create a new representation of a spatial view.
|
static View |
DefaultView.create(String name,
String map)
Create a new representation of a regular, non-spatial view without reduce function.
|
static View |
DefaultView.create(String name,
String map,
String reduce)
Create a new representation of a regular, non-spatial view.
|
Modifier and Type | Method and Description |
---|---|
List<View> |
DesignDocument.views()
Returns a list of the views (raw and spatial) contained in the design document.
|
Modifier and Type | Method and Description |
---|---|
static DesignDocument |
DesignDocument.create(String name,
List<View> views)
Creates a new
DesignDocument . |
static DesignDocument |
DesignDocument.create(String name,
List<View> views,
Map<DesignDocument.Option,Long> options)
Creates a new
DesignDocument . |
Constructor and Description |
---|
DesignDocument(String name,
List<View> views,
Map<DesignDocument.Option,Long> options) |
Copyright © 2015 Couchbase, Inc.