MCPcopy Index your code
hub / github.com/OpenTSDB/asynchbase / setMaxNumKeyValues

Method setMaxNumKeyValues

src/Scanner.java:532–538  ·  view source on GitHub ↗

Sets the maximum number of KeyValues the server is allowed to return in a single RPC response. If you're dealing with wide rows, in which you have many cells, you may want to limit the number of cells (KeyValues) that the server returns in a single RPC response. The default i

(final int max_num_kvs)

Source from the content-addressed store, hash-verified

530 * @throws IllegalStateException if scanning already started.
531 */
532 public void setMaxNumKeyValues(final int max_num_kvs) {
533 if (max_num_kvs == 0) {
534 throw new IllegalArgumentException("batch size can't be zero");
535 }
536 checkScanningNotStarted();
537 this.max_num_kvs = max_num_kvs;
538 }
539
540 /**
541 * Maximum number of {@link KeyValue}s the server is allowed to return.

Callers 2

compareFiltersMethod · 0.95

Calls 1

Tested by 2

compareFiltersMethod · 0.76