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 class
Holds Map Reduce functions in a view. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.gson.JsonObject
private com.google.gson.JsonObject
private String
private com.google.gson.JsonArray
private String
private Map<String,
DesignDocument.MapReduce> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other design document is equals to this one.com.google.gson.JsonObject
com.google.gson.JsonObject
getLists()
com.google.gson.JsonArray
getShows()
getViews()
int
hashCode()
void
setFilters
(Map<String, String> filters) void
setFulltext
(com.google.gson.JsonObject fulltext) void
setIndexes
(com.google.gson.JsonObject indexes) void
setLanguage
(String language) void
void
setRewrites
(com.google.gson.JsonArray rewrites) void
void
setUpdates
(Map<String, String> updates) void
setValidateDocUpdate
(String validateDocUpdate) void
setViews
(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.
-