Package com.ibm.cloud.cloudant.v1.model
Class PostViewOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.PostViewOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PostViewOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The postView options.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder.static interface
Parameter to specify whether or not the view in question should be updated prior to responding to the user. -
Method Summary
Modifier and TypeMethodDescriptionGets the attachments.Gets the attEncodingInfo.Gets the conflicts.db()
Gets the db.ddoc()
Gets the ddoc.Gets the descending.endKey()
Gets the endKey.Gets the endKeyDocId.group()
Gets the group.Gets the groupLevel.Gets the includeDocs.Gets the inclusiveEnd.key()
Gets the key.keys()
Gets the keys.limit()
Gets the limit.New builder.reduce()
Gets the reduce.skip()
Gets the skip.stable()
Gets the stable.startKey()
Gets the startKey.Gets the startKeyDocId.update()
Gets the update.Gets the updateSeq.view()
Gets the view.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a PostViewOptions builder
-
db
Gets the db. Path parameter to specify the database name.- Returns:
- the db
-
ddoc
Gets the ddoc. Path parameter to specify the design document name. The design document name is the design document ID excluding the `_design/` prefix.- Returns:
- the ddoc
-
view
Gets the view. Path parameter to specify the map reduce view function name.- Returns:
- the view
-
attEncodingInfo
Gets the attEncodingInfo. Parameter to specify whether to include the encoding information in attachment stubs if the particular attachment is compressed.- Returns:
- the attEncodingInfo
-
attachments
Gets the attachments. Parameter to specify whether to include attachments bodies in a response.- Returns:
- the attachments
-
conflicts
Gets the conflicts. Parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of the returned document. Ignored if `include_docs` isn't `true`.- Returns:
- the conflicts
-
descending
Gets the descending. Parameter to specify whether to return the documents in descending by key order.- Returns:
- the descending
-
includeDocs
Gets the includeDocs. Parameter to specify whether to include the full content of the documents in the response.- Returns:
- the includeDocs
-
inclusiveEnd
Gets the inclusiveEnd. Parameter to specify whether the specified end key should be included in the result.- Returns:
- the inclusiveEnd
-
limit
Gets the limit. Parameter to specify the number of returned documents to limit the result to.- Returns:
- the limit
-
skip
Gets the skip. Parameter to specify the number of records before starting to return the results.- Returns:
- the skip
-
updateSeq
Gets the updateSeq. Parameter to specify whether to include in the response an update_seq value indicating the sequence id of the database the view reflects.- Returns:
- the updateSeq
-
endKey
Gets the endKey. Schema for any JSON type.- Returns:
- the endKey
-
endKeyDocId
Gets the endKeyDocId. Schema for a document ID.- Returns:
- the endKeyDocId
-
group
Gets the group. Parameter to specify whether to group the results using the reduce function to a group rather than a single row. Implies reduce is true and the maximum group_level.- Returns:
- the group
-
groupLevel
Gets the groupLevel. Parameter to specify the group level to be used. Implies group is true.- Returns:
- the groupLevel
-
key
Gets the key. Schema for any JSON type.- Returns:
- the key
-
keys
Gets the keys. Parameter to specify to return only documents that match the specified keys. String representation of a JSON array containing elements that match the key type emitted by the view function.- Returns:
- the keys
-
reduce
Gets the reduce. Parameter to specify whether to use the reduce function in a map-reduce view. Default is true when a reduce function is defined.- Returns:
- the reduce
-
stable
Gets the stable. Parameter to specify whether view results should be returned from a stable set of shards.- Returns:
- the stable
-
startKey
Gets the startKey. Schema for any JSON type.- Returns:
- the startKey
-
startKeyDocId
Gets the startKeyDocId. Schema for a document ID.- Returns:
- the startKeyDocId
-
update
Gets the update. Parameter to specify whether or not the view in question should be updated prior to responding to the user.- Returns:
- the update
-