Package org.lightcouch
Class DesignDocument
java.lang.Object
org.lightcouch.Document
org.lightcouch.DesignDocument
Represents a design document.
- Since:
- 0.0.2
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHolds Map Reduce functions in a view. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.gson.JsonObjectprivate com.google.gson.JsonObjectprivate Stringprivate com.google.gson.JsonArrayprivate Stringprivate Map<String, DesignDocument.MapReduce> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other design document is equals to this one.com.google.gson.JsonObjectcom.google.gson.JsonObjectgetLists()com.google.gson.JsonArraygetShows()getViews()inthashCode()voidsetFilters(Map<String, String> filters) voidsetFulltext(com.google.gson.JsonObject fulltext) voidsetIndexes(com.google.gson.JsonObject indexes) voidsetLanguage(String language) voidvoidsetRewrites(com.google.gson.JsonArray rewrites) voidvoidsetUpdates(Map<String, String> updates) voidsetValidateDocUpdate(String validateDocUpdate) voidsetViews(Map<String, DesignDocument.MapReduce> views) Methods inherited from class org.lightcouch.Document
addAttachment, getAttachments, getId, getRevision, setAttachments, setId, setRevision
-
Field Details
-
language
-
views
-
validateDocUpdate
-
filters
-
shows
-
lists
-
updates
-
rewrites
private com.google.gson.JsonArray rewrites -
fulltext
private com.google.gson.JsonObject fulltext -
indexes
private com.google.gson.JsonObject indexes
-
-
Constructor Details
-
DesignDocument
public DesignDocument()
-
-
Method Details
-
getLanguage
-
getViews
-
getValidateDocUpdate
-
getRewrites
public com.google.gson.JsonArray getRewrites() -
getFulltext
public com.google.gson.JsonObject getFulltext() -
getIndexes
public com.google.gson.JsonObject getIndexes() -
getFilters
-
getShows
-
getLists
-
getUpdates
-
setLanguage
-
setViews
-
setValidateDocUpdate
-
setRewrites
public void setRewrites(com.google.gson.JsonArray rewrites) -
setFulltext
public void setFulltext(com.google.gson.JsonObject fulltext) -
setIndexes
public void setIndexes(com.google.gson.JsonObject indexes) -
setFilters
-
setShows
-
setLists
-
setUpdates
-
hashCode
public int hashCode() -
equals
Indicates whether some other design document is equals to this one.
-