public class ViewDesign
extends java.lang.Object
| Constructor and Description |
|---|
ViewDesign(java.lang.String name,
java.lang.String map)
Create a ViewDesign with a name and a map function.
|
ViewDesign(java.lang.String name,
java.lang.String map,
java.lang.String reduce)
Create a ViewDesign with a name, map and reduce function.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMap()
Get the map function of the view.
|
java.lang.String |
getName()
Get the name of the view.
|
java.lang.String |
getReduce()
Get the reduce function of the view.
|
public ViewDesign(java.lang.String name,
java.lang.String map)
name - the name of the view.map - the map function of the view.public ViewDesign(java.lang.String name,
java.lang.String map,
java.lang.String reduce)
name - the name of the view.map - the map function of the view.reduce - the reduce function of the view.public java.lang.String getName()
public java.lang.String getMap()
public java.lang.String getReduce()
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.