public abstract class AbstractView
extends java.lang.Object
Constructor and Description |
---|
AbstractView(java.lang.String database,
java.lang.String designDoc,
java.lang.String view)
Instantiate a AbstractView object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDatabaseName()
Returns the database (bucket) name.
|
java.lang.String |
getDesignDocumentName()
Returns the design document name.
|
abstract java.lang.String |
getURI()
Returns the URI/String representation of the View.
|
java.lang.String |
getViewName()
Returns the view name.
|
abstract boolean |
hasMap()
Checks if the view has a "map" method defined.
|
abstract boolean |
hasReduce()
Checks if the view has a "reduce" method defined.
|
public AbstractView(java.lang.String database, java.lang.String designDoc, java.lang.String view)
database
- the name of the database.designDoc
- the name of the corresponding design document.view
- the name of the view itself.public java.lang.String getDatabaseName()
public java.lang.String getDesignDocumentName()
public java.lang.String getViewName()
public abstract boolean hasMap()
public abstract boolean hasReduce()
public abstract java.lang.String getURI()
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.