Package com.couchbase.client.java.view
Class SpatialView
- java.lang.Object
-
- com.couchbase.client.java.view.SpatialView
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSpatialView(String name, String map)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Viewcreate(String name, String map)Create a new representation of a spatial view.booleanequals(Object o)inthashCode()booleanhasReduce()If a reduce function is set or not.Stringmap()The map functionStringname()The name of the view.Stringreduce()The reduce function.StringtoString()
-
-
-
Method Detail
-
create
public static View create(String name, String map)
Create a new representation of a spatial view.- Parameters:
name- the name of the spatial view.map- the map function (javascript) for the spatial view.- Returns:
- the spatial view object.
-
hasReduce
public boolean hasReduce()
Description copied from interface:ViewIf a reduce function is set or not.
-
-