com.couchbase.client.protocol.views
Class SpatialViewDesign

java.lang.Object
  extended by com.couchbase.client.protocol.views.SpatialViewDesign

public class SpatialViewDesign
extends java.lang.Object

The SpatialViewDesign object represents a spatial view to be stored and retrieved from the Couchbase cluster.


Constructor Summary
SpatialViewDesign(java.lang.String name, java.lang.String map)
          Create a SpatialViewDesign with a name and a map function.
 
Method Summary
 java.lang.String getMap()
          Get the map function of the spatial view.
 java.lang.String getName()
          Get the name of the spatial view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialViewDesign

public SpatialViewDesign(java.lang.String name,
                         java.lang.String map)
Create a SpatialViewDesign with a name and a map function.

Parameters:
name - the name of the spatial view.
map - the map function of the spatial view.
Method Detail

getName

public java.lang.String getName()
Get the name of the spatial view.

Returns:
the name of the spatial view.

getMap

public java.lang.String getMap()
Get the map function of the spatial view.

Returns:
the map function of the spatial view.


Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.