bigquerytranslator

package
v0.0.0-...-3de72e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package bigquerytranslator translates log records to bigtable values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	*lpb.LogRecord
}

Item implements the bigquery interface used for bulk inserts.

func (*Item) Save

func (i *Item) Save() (map[string]bigquery.Value, string, error)

Save returns the item to be inserted from the given log record and a unique insertId that can be used to de-duplicate inserts for upto 60 seconds.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL