public static final class RequestOptions.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RequestOptions.Builder |
addAlias(String aliasName,
String actualName)
The aliases to set on the request.
|
RequestOptions.Builder |
addParameter(String name,
Object value)
The parameters to pass on the request.
|
RequestOptions.Builder |
batchSize(int batchSize)
The per client request override for the client and server configured
resultIterationBatchSize. |
RequestOptions |
create() |
RequestOptions.Builder |
timeout(long timeout)
The per client request override in milliseconds for the server configured
scriptEvaluationTimeout. |
public RequestOptions.Builder addAlias(String aliasName, String actualName)
public RequestOptions.Builder addParameter(String name, Object value)
public RequestOptions.Builder batchSize(int batchSize)
resultIterationBatchSize. If
this value is not set, then the configuration for the Cluster is used unless the
RequestMessage is configured completely by the user.public RequestOptions.Builder timeout(long timeout)
scriptEvaluationTimeout.
If this value is not set, then the configuration for the server is used.public RequestOptions create()
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.