managedwriter

managedwriter

Package managedwriter provides an EXPERIMENTAL thick client around the BigQuery storage API's BigQueryWriteClient. More information about this new write client may also be found in the public documentation: https://cloud.google.com/bigquery/docs/write-api

It is EXPERIMENTAL and subject to change or removal without notice. This is primarily to signal that this package may still make breaking changes to existing methods and functionality.

Classes

JSONEncoder
JSONWriter
StreamConnection
Writer
WriterClient

Members

exports.BufferedStream

BufferedStream is a form of checkpointed stream, that allows you to advance the offset of visible rows via Flush operations.

exports.CommittedStream

CommittedStream appends data immediately, but creates a discrete stream for the work so that offset tracking can be used to track writes.

exports.DefaultStream

DefaultStream most closely mimics the legacy bigquery tabledata.insertAll semantics. Successful inserts are committed immediately, and there's no tracking offsets as all writes go into a "default" stream that always exists for a table.

exports.PendingStream

PendingStream is a stream in which no data is made visible to readers until the stream is finalized and committed explicitly.