public class SpatialView extends AbstractView
| Constructor and Description |
|---|
SpatialView(java.lang.String database,
java.lang.String designDoc,
java.lang.String viewName)
Create a new Spatial View object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getDatabaseName, getDesignDocumentName, getViewNamepublic 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.public boolean hasMap()
hasMap in class AbstractViewpublic boolean hasReduce()
hasReduce in class AbstractViewpublic java.lang.String getURI()
getURI in class AbstractViewCopyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.