Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion driver/src/main/java/oracle/nosql/driver/ops/QueryRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,11 @@ public QueryRequest setCompartment(String compartment) {
* Returns the limit on number of items returned by the operation. If
* not set by the application this value will be 0 which means no limit set.
*
* For update query with on-premise service, returns the update limit on
* the number of records that can be updated in single update query. If not
* set by the application this value will be 0 which means no application
* limit set.
*
* @return the limit, or 0 if not set
*/
public int getLimit() {
Expand All @@ -494,7 +499,14 @@ public int getLimit() {
* Sets the limit on number of items returned by the operation. This allows
* an operation to return less than the default amount of data.
*
* @param limit the limit in terms of number of items returned
* For update query, if with on-premise service, this is to set the update
* limit on the number of records that can be updated in single query, if
* not set by the application, default service limit is used. If with cloud
* service, this update limit will be ignored, the maximum of records that
* can be updated is limited by other cloud limits maxWriteKB and maxReadKB.
*
* @param limit the limit in terms of number of items returned, or the
* maximum of records that can be updated in a update query.
*
* @return this
*
Expand Down