Package com.ibm.cloud.cloudant.v1.model
Class PostExplainOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostExplainOptions.Builder
- Enclosing class:
- PostExplainOptions
Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds an fields to fields.Adds an sort to sort.addUseIndex
(String useIndex) Adds an useIndex to useIndex.Set the bookmark.build()
Builds a PostExplainOptions.Set the conflicts.Set the db.executionStats
(Boolean executionStats) Set the executionStats.Set the fields.limit
(long limit) Set the limit.r
(long r) Set the r.Set the selector.skip
(long skip) Set the skip.Set the sort.Set the stable.Set the update.Set the useIndex.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
db
- the dbselector
- the selector
-
-
Method Details
-
build
Builds a PostExplainOptions.- Returns:
- the new PostExplainOptions instance
-
addFields
Adds an fields to fields.- Parameters:
fields
- the new fields- Returns:
- the PostExplainOptions builder
-
addSort
Adds an sort to sort.- Parameters:
sort
- the new sort- Returns:
- the PostExplainOptions builder
-
addUseIndex
Adds an useIndex to useIndex.- Parameters:
useIndex
- the new useIndex- Returns:
- the PostExplainOptions builder
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the PostExplainOptions builder
-
selector
Set the selector.- Parameters:
selector
- the selector- Returns:
- the PostExplainOptions builder
-
bookmark
Set the bookmark.- Parameters:
bookmark
- the bookmark- Returns:
- the PostExplainOptions builder
-
conflicts
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the PostExplainOptions builder
-
executionStats
Set the executionStats.- Parameters:
executionStats
- the executionStats- Returns:
- the PostExplainOptions builder
-
fields
Set the fields. Existing fields will be replaced.- Parameters:
fields
- the fields- Returns:
- the PostExplainOptions builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the PostExplainOptions builder
-
skip
Set the skip.- Parameters:
skip
- the skip- Returns:
- the PostExplainOptions builder
-
sort
Set the sort. Existing sort will be replaced.- Parameters:
sort
- the sort- Returns:
- the PostExplainOptions builder
-
stable
Set the stable.- Parameters:
stable
- the stable- Returns:
- the PostExplainOptions builder
-
update
Set the update.- Parameters:
update
- the update- Returns:
- the PostExplainOptions builder
-
useIndex
Set the useIndex. Existing useIndex will be replaced.- Parameters:
useIndex
- the useIndex- Returns:
- the PostExplainOptions builder
-
r
Set the r.- Parameters:
r
- the r- Returns:
- the PostExplainOptions builder
-