public class CheckQueryOptions extends Object
Constructor and Description |
---|
CheckQueryOptions()
Default constructor
|
CheckQueryOptions(JsonObject json)
Constructor from JSON
|
Modifier and Type | Method and Description |
---|---|
BlockingQueryOptions |
getBlockingOptions()
Get options for blocking query
|
String |
getNear()
Get node name for sorting the list in ascending order based on the estimated round trip time from that node.
|
CheckQueryOptions |
setBlockingOptions(BlockingQueryOptions options)
Set options for blocking query
|
CheckQueryOptions |
setNear(String near)
Set node name for sorting the list in ascending order based on the estimated round trip time from that node.
|
JsonObject |
toJson()
Convert to JSON
|
public CheckQueryOptions()
public CheckQueryOptions(JsonObject json)
json
- the JSONpublic JsonObject toJson()
public String getNear()
public CheckQueryOptions setNear(String near)
near
- the node namepublic BlockingQueryOptions getBlockingOptions()
public CheckQueryOptions setBlockingOptions(BlockingQueryOptions options)
options
- the blocking optionsCopyright © 2022 Eclipse. All rights reserved.