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