Package com.ibm.cloud.cloudant.v1.model
Class ViewQuery.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.ViewQuery.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewQuery.BuilderaddKeys(Object keys)Adds an keys to keys.ViewQuery.Builderattachments(Boolean attachments)Set the attachments.ViewQuery.BuilderattEncodingInfo(Boolean attEncodingInfo)Set the attEncodingInfo.ViewQuerybuild()Builds a ViewQuery.ViewQuery.Builderconflicts(Boolean conflicts)Set the conflicts.ViewQuery.Builderdescending(Boolean descending)Set the descending.ViewQuery.Builderendkey(Object endkey)Set the endkey.ViewQuery.BuilderendkeyDocid(String endkeyDocid)Set the endkeyDocid.ViewQuery.Buildergroup(Boolean group)Set the group.ViewQuery.BuildergroupLevel(long groupLevel)Set the groupLevel.ViewQuery.BuilderincludeDocs(Boolean includeDocs)Set the includeDocs.ViewQuery.BuilderinclusiveEnd(Boolean inclusiveEnd)Set the inclusiveEnd.ViewQuery.Builderkey(Object key)Set the key.ViewQuery.Builderkeys(List<Object> keys)Set the keys.ViewQuery.Builderlimit(long limit)Set the limit.ViewQuery.Builderreduce(Boolean reduce)Set the reduce.ViewQuery.Builderskip(long skip)Set the skip.ViewQuery.Builderstable(Boolean stable)Set the stable.ViewQuery.Builderstartkey(Object startkey)Set the startkey.ViewQuery.BuilderstartkeyDocid(String startkeyDocid)Set the startkeyDocid.ViewQuery.Builderupdate(String update)Set the update.ViewQuery.BuilderupdateSeq(Boolean updateSeq)Set the updateSeq.
-
-
-
Method Detail
-
build
public ViewQuery build()
Builds a ViewQuery.- Returns:
- the new ViewQuery instance
-
addKeys
public ViewQuery.Builder addKeys(Object keys)
Adds an keys to keys.- Parameters:
keys- the new keys- Returns:
- the ViewQuery builder
-
attEncodingInfo
public ViewQuery.Builder attEncodingInfo(Boolean attEncodingInfo)
Set the attEncodingInfo.- Parameters:
attEncodingInfo- the attEncodingInfo- Returns:
- the ViewQuery builder
-
attachments
public ViewQuery.Builder attachments(Boolean attachments)
Set the attachments.- Parameters:
attachments- the attachments- Returns:
- the ViewQuery builder
-
conflicts
public ViewQuery.Builder conflicts(Boolean conflicts)
Set the conflicts.- Parameters:
conflicts- the conflicts- Returns:
- the ViewQuery builder
-
descending
public ViewQuery.Builder descending(Boolean descending)
Set the descending.- Parameters:
descending- the descending- Returns:
- the ViewQuery builder
-
includeDocs
public ViewQuery.Builder includeDocs(Boolean includeDocs)
Set the includeDocs.- Parameters:
includeDocs- the includeDocs- Returns:
- the ViewQuery builder
-
inclusiveEnd
public ViewQuery.Builder inclusiveEnd(Boolean inclusiveEnd)
Set the inclusiveEnd.- Parameters:
inclusiveEnd- the inclusiveEnd- Returns:
- the ViewQuery builder
-
limit
public ViewQuery.Builder limit(long limit)
Set the limit.- Parameters:
limit- the limit- Returns:
- the ViewQuery builder
-
skip
public ViewQuery.Builder skip(long skip)
Set the skip.- Parameters:
skip- the skip- Returns:
- the ViewQuery builder
-
updateSeq
public ViewQuery.Builder updateSeq(Boolean updateSeq)
Set the updateSeq.- Parameters:
updateSeq- the updateSeq- Returns:
- the ViewQuery builder
-
endkey
public ViewQuery.Builder endkey(Object endkey)
Set the endkey.- Parameters:
endkey- the endkey- Returns:
- the ViewQuery builder
-
endkeyDocid
public ViewQuery.Builder endkeyDocid(String endkeyDocid)
Set the endkeyDocid.- Parameters:
endkeyDocid- the endkeyDocid- Returns:
- the ViewQuery builder
-
group
public ViewQuery.Builder group(Boolean group)
Set the group.- Parameters:
group- the group- Returns:
- the ViewQuery builder
-
groupLevel
public ViewQuery.Builder groupLevel(long groupLevel)
Set the groupLevel.- Parameters:
groupLevel- the groupLevel- Returns:
- the ViewQuery builder
-
key
public ViewQuery.Builder key(Object key)
Set the key.- Parameters:
key- the key- Returns:
- the ViewQuery builder
-
keys
public ViewQuery.Builder keys(List<Object> keys)
Set the keys. Existing keys will be replaced.- Parameters:
keys- the keys- Returns:
- the ViewQuery builder
-
reduce
public ViewQuery.Builder reduce(Boolean reduce)
Set the reduce.- Parameters:
reduce- the reduce- Returns:
- the ViewQuery builder
-
stable
public ViewQuery.Builder stable(Boolean stable)
Set the stable.- Parameters:
stable- the stable- Returns:
- the ViewQuery builder
-
startkey
public ViewQuery.Builder startkey(Object startkey)
Set the startkey.- Parameters:
startkey- the startkey- Returns:
- the ViewQuery builder
-
startkeyDocid
public ViewQuery.Builder startkeyDocid(String startkeyDocid)
Set the startkeyDocid.- Parameters:
startkeyDocid- the startkeyDocid- Returns:
- the ViewQuery builder
-
update
public ViewQuery.Builder update(String update)
Set the update.- Parameters:
update- the update- Returns:
- the ViewQuery builder
-
-