Get.Builder Class
A builder for constructing Get instances.
Rather than having to manually construct the options and instantiating a Get directly, this builder may be used.
var get = new Get.Builder()
.withKey(key)
.build();
Constructor
Get.Builder
()
Item Index
Methods
Methods
withCallback
(
chainable
-
callback
Set the callback to be executed when the operation completes.
Parameters:
-
callbackFunctionThe allback to be executed when the operation completes.
-
errStringAn error message. Will be null if no error.
-
responseObjectThe response from Riak
-
withKey
(
chainable
-
key
Set the key
Parameters:
-
keyObjectthe timeseries key value
withTable
(
chainable
-
table
Set the table.
Parameters:
-
tableStringthe table in Riak
