Query.Builder Class
A builder for constructing Query instances.
Rather than having to manually construct the options and instantiating a Query directly, this builder may be used.
var storeValue = new Query.Builder()
.withTable('table')
.withColumns(columns)
.withRows(rows)
.build();
Constructor
Query.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
-
withQuery
(
chainable
-
query
Set the query text.
Parameters:
-
queryStringthe timeseries query
