|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.couchbase.client.protocol.views.ViewDesign
public class ViewDesign
The ViewDesign object represents a view to be stored and retrieved from the Couchbase cluster.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public java.lang.String getName()
public java.lang.String getMap()
public java.lang.String getReduce()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |