Modifier | Constructor and Description |
---|---|
protected |
SpatialView(String name,
String map) |
Modifier and Type | Method and Description |
---|---|
static View |
create(String name,
String map)
Create a new representation of a spatial view.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
hasReduce()
If a reduce function is set or not.
|
String |
map()
The map function
|
String |
name()
The name of the view.
|
String |
reduce()
The reduce function.
|
String |
toString() |
public static View create(String name, String map)
Create a new representation of a spatial view.
name
- the name of the spatial view.map
- the map function (javascript) for the spatial view.public boolean hasReduce()
View
If a reduce function is set or not.
Copyright © 2015 Couchbase, Inc.. All rights reserved.