RiakMapReduceQuery Constructor (String, NullableInt32) |
Note: This API is now obsolete.
Namespace:
RiakClient.Models.MapReduce
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax [ObsoleteAttribute("This overload will be removed in the next version, please use the RiakMapReduceQuery() or RiakMapReduceQuery(int? timeout) overloads instead.")]
public RiakMapReduceQuery(
string contentType,
Nullable<int> timeout = null
)
[<ObsoleteAttribute("This overload will be removed in the next version, please use the RiakMapReduceQuery() or RiakMapReduceQuery(int? timeout) overloads instead.")>]
new :
contentType : string *
?timeout : Nullable<int>
(* Defaults:
let _timeout = defaultArg timeout null
*)
-> RiakMapReduceQuery
Parameters
- contentType
- Type: SystemString
The query's return content-type. - timeout (Optional)
- Type: SystemNullableInt32
The timeout period for the query, in milliseconds.
Exceptions Exception | Condition |
---|
ArgumentException | The value of 'contentType' cannot be null, empty, or whitespace. |
See Also