Bigtable

google.bigtable.v2. Bigtable

Represents a Bigtable

Constructor

new Bigtable(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new Bigtable service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {Bigtable}

Creates new Bigtable service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
Bigtable

RPC service. Useful where requests and/or responses are streamed.

checkAndMutateRow(request, callback) → {undefined}

Calls CheckAndMutateRow.

Parameters:
Name Type Description
request google.bigtable.v2.ICheckAndMutateRowRequest

CheckAndMutateRowRequest message or plain object

callback google.bigtable.v2.Bigtable.CheckAndMutateRowCallback

Node-style callback called with the error, if any, and CheckAndMutateRowResponse

Returns:
Type Description
undefined

checkAndMutateRow(request) → {Promise.<google.bigtable.v2.CheckAndMutateRowResponse>}

Calls CheckAndMutateRow.

Parameters:
Name Type Description
request google.bigtable.v2.ICheckAndMutateRowRequest

CheckAndMutateRowRequest message or plain object

Returns:
Type Description
Promise.<google.bigtable.v2.CheckAndMutateRowResponse>

Promise

mutateRow(request, callback) → {undefined}

Calls MutateRow.

Parameters:
Name Type Description
request google.bigtable.v2.IMutateRowRequest

MutateRowRequest message or plain object

callback google.bigtable.v2.Bigtable.MutateRowCallback

Node-style callback called with the error, if any, and MutateRowResponse

Returns:
Type Description
undefined

mutateRow(request) → {Promise.<google.bigtable.v2.MutateRowResponse>}

Calls MutateRow.

Parameters:
Name Type Description
request google.bigtable.v2.IMutateRowRequest

MutateRowRequest message or plain object

Returns:
Type Description
Promise.<google.bigtable.v2.MutateRowResponse>

Promise

mutateRows(request, callback) → {undefined}

Calls MutateRows.

Parameters:
Name Type Description
request google.bigtable.v2.IMutateRowsRequest

MutateRowsRequest message or plain object

callback google.bigtable.v2.Bigtable.MutateRowsCallback

Node-style callback called with the error, if any, and MutateRowsResponse

Returns:
Type Description
undefined

mutateRows(request) → {Promise.<google.bigtable.v2.MutateRowsResponse>}

Calls MutateRows.

Parameters:
Name Type Description
request google.bigtable.v2.IMutateRowsRequest

MutateRowsRequest message or plain object

Returns:
Type Description
Promise.<google.bigtable.v2.MutateRowsResponse>

Promise

readModifyWriteRow(request, callback) → {undefined}

Calls ReadModifyWriteRow.

Parameters:
Name Type Description
request google.bigtable.v2.IReadModifyWriteRowRequest

ReadModifyWriteRowRequest message or plain object

callback google.bigtable.v2.Bigtable.ReadModifyWriteRowCallback

Node-style callback called with the error, if any, and ReadModifyWriteRowResponse

Returns:
Type Description
undefined

readModifyWriteRow(request) → {Promise.<google.bigtable.v2.ReadModifyWriteRowResponse>}

Calls ReadModifyWriteRow.

Parameters:
Name Type Description
request google.bigtable.v2.IReadModifyWriteRowRequest

ReadModifyWriteRowRequest message or plain object

Returns:
Type Description
Promise.<google.bigtable.v2.ReadModifyWriteRowResponse>

Promise

readRows(request, callback) → {undefined}

Calls ReadRows.

Parameters:
Name Type Description
request google.bigtable.v2.IReadRowsRequest

ReadRowsRequest message or plain object

callback google.bigtable.v2.Bigtable.ReadRowsCallback

Node-style callback called with the error, if any, and ReadRowsResponse

Returns:
Type Description
undefined

readRows(request) → {Promise.<google.bigtable.v2.ReadRowsResponse>}

Calls ReadRows.

Parameters:
Name Type Description
request google.bigtable.v2.IReadRowsRequest

ReadRowsRequest message or plain object

Returns:
Type Description
Promise.<google.bigtable.v2.ReadRowsResponse>

Promise

sampleRowKeys(request, callback) → {undefined}

Calls SampleRowKeys.

Parameters:
Name Type Description
request google.bigtable.v2.ISampleRowKeysRequest

SampleRowKeysRequest message or plain object

callback google.bigtable.v2.Bigtable.SampleRowKeysCallback

Node-style callback called with the error, if any, and SampleRowKeysResponse

Returns:
Type Description
undefined

sampleRowKeys(request) → {Promise.<google.bigtable.v2.SampleRowKeysResponse>}

Calls SampleRowKeys.

Parameters:
Name Type Description
request google.bigtable.v2.ISampleRowKeysRequest

SampleRowKeysRequest message or plain object

Returns:
Type Description
Promise.<google.bigtable.v2.SampleRowKeysResponse>

Promise

Type Definitions

CheckAndMutateRowCallback(error, responseopt)

Callback as used by google.bigtable.v2.Bigtable#checkAndMutateRow.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.bigtable.v2.CheckAndMutateRowResponse <optional>

CheckAndMutateRowResponse

MutateRowCallback(error, responseopt)

Callback as used by google.bigtable.v2.Bigtable#mutateRow.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.bigtable.v2.MutateRowResponse <optional>

MutateRowResponse

MutateRowsCallback(error, responseopt)

Callback as used by google.bigtable.v2.Bigtable#mutateRows.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.bigtable.v2.MutateRowsResponse <optional>

MutateRowsResponse

ReadModifyWriteRowCallback(error, responseopt)

Callback as used by google.bigtable.v2.Bigtable#readModifyWriteRow.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.bigtable.v2.ReadModifyWriteRowResponse <optional>

ReadModifyWriteRowResponse

ReadRowsCallback(error, responseopt)

Callback as used by google.bigtable.v2.Bigtable#readRows.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.bigtable.v2.ReadRowsResponse <optional>

ReadRowsResponse

SampleRowKeysCallback(error, responseopt)

Callback as used by google.bigtable.v2.Bigtable#sampleRowKeys.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.bigtable.v2.SampleRowKeysResponse <optional>

SampleRowKeysResponse