API Docs for: 2.2.2
Show:

Get.Builder Class

Module: TS

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

build

() Get

Construct a Get instance.

Returns:

Get:

a Get instance

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