|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.couchbase.client.protocol.views.AbstractView
com.couchbase.client.protocol.views.SpatialView
public class SpatialView
Holds information about a spatial view that can be queried in Couchbase Server.
Constructor Summary | |
---|---|
SpatialView(java.lang.String database,
java.lang.String designDoc,
java.lang.String viewName)
Create a new Spatial View object. |
Method Summary | |
---|---|
java.lang.String |
getURI()
Returns the URI/String representation of the Spatial View. |
boolean |
hasMap()
Will always return true, because Spatial Views need to have a map function. |
boolean |
hasReduce()
Will always return false, because Spatial Views can't have reduce functions. |
Methods inherited from class com.couchbase.client.protocol.views.AbstractView |
---|
getDatabaseName, getDesignDocumentName, getViewName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpatialView(java.lang.String database, java.lang.String designDoc, java.lang.String viewName)
database
- the name of the database.designDoc
- the name of the corresponding design document.viewName
- the name of the view itself.Method Detail |
---|
public boolean hasMap()
hasMap
in class AbstractView
public boolean hasReduce()
hasReduce
in class AbstractView
public java.lang.String getURI()
getURI
in class AbstractView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |