API Docs for: 2.2.2
Show:

ByKeyBase.Builder Class

Module: TS

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

withCallback

(
  • callback
)
chainable

Set the callback to be executed when the operation completes.

Parameters:

  • callback Function

    The allback to be executed when the operation completes.

    • err String

      An error message. Will be null if no error.

    • response Object

      The response from Riak

withKey

(
  • key
)
chainable

Set the key

Parameters:

  • key Object

    the timeseries key value

withTable

(
  • table
)
chainable

Set the table.

Parameters:

  • table String

    the table in Riak