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, getViewName
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.public boolean hasMap()
hasMap
in class AbstractView
public boolean hasReduce()
hasReduce
in class AbstractView
public java.lang.String getURI()
getURI
in class AbstractView
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.