Package com.ibm.cloud.cloudant.v1.model
Class ViewQuery.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.ViewQuery.Builder
- Enclosing class:
ViewQuery
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a new element to keys.attachments
(Boolean attachments) Set the attachments.attEncodingInfo
(Boolean attEncodingInfo) Set the attEncodingInfo.build()
Builds a ViewQuery.Set the conflicts.descending
(Boolean descending) Set the descending.Set the endKey.endKeyDocId
(String endKeyDocId) Set the endKeyDocId.Set the group.groupLevel
(long groupLevel) Set the groupLevel.includeDocs
(Boolean includeDocs) Set the includeDocs.inclusiveEnd
(Boolean inclusiveEnd) Set the inclusiveEnd.Set the key.Set the keys.limit
(long limit) Set the limit.Set the reduce.skip
(long skip) Set the skip.Set the stable.Set the startKey.startKeyDocId
(String startKeyDocId) Set the startKeyDocId.Set the update.Set the updateSeq.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a ViewQuery.- Returns:
- the new ViewQuery instance
-
addKeys
Adds a new element to keys.- Parameters:
keys
- the new element to be added- Returns:
- the ViewQuery builder
-
attEncodingInfo
Set the attEncodingInfo.- Parameters:
attEncodingInfo
- the attEncodingInfo- Returns:
- the ViewQuery builder
-
attachments
Set the attachments.- Parameters:
attachments
- the attachments- Returns:
- the ViewQuery builder
-
conflicts
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the ViewQuery builder
-
descending
Set the descending.- Parameters:
descending
- the descending- Returns:
- the ViewQuery builder
-
includeDocs
Set the includeDocs.- Parameters:
includeDocs
- the includeDocs- Returns:
- the ViewQuery builder
-
inclusiveEnd
Set the inclusiveEnd.- Parameters:
inclusiveEnd
- the inclusiveEnd- Returns:
- the ViewQuery builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the ViewQuery builder
-
skip
Set the skip.- Parameters:
skip
- the skip- Returns:
- the ViewQuery builder
-
updateSeq
Set the updateSeq.- Parameters:
updateSeq
- the updateSeq- Returns:
- the ViewQuery builder
-
endKey
Set the endKey.- Parameters:
endKey
- the endKey- Returns:
- the ViewQuery builder
-
endKeyDocId
Set the endKeyDocId.- Parameters:
endKeyDocId
- the endKeyDocId- Returns:
- the ViewQuery builder
-
group
Set the group.- Parameters:
group
- the group- Returns:
- the ViewQuery builder
-
groupLevel
Set the groupLevel.- Parameters:
groupLevel
- the groupLevel- Returns:
- the ViewQuery builder
-
key
Set the key.- Parameters:
key
- the key- Returns:
- the ViewQuery builder
-
keys
Set the keys. Existing keys will be replaced.- Parameters:
keys
- the keys- Returns:
- the ViewQuery builder
-
reduce
Set the reduce.- Parameters:
reduce
- the reduce- Returns:
- the ViewQuery builder
-
stable
Set the stable.- Parameters:
stable
- the stable- Returns:
- the ViewQuery builder
-
startKey
Set the startKey.- Parameters:
startKey
- the startKey- Returns:
- the ViewQuery builder
-
startKeyDocId
Set the startKeyDocId.- Parameters:
startKeyDocId
- the startKeyDocId- Returns:
- the ViewQuery builder
-
update
Set the update.- Parameters:
update
- the update- Returns:
- the ViewQuery builder
-