store

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	BqClient *bigquery.Client
	// contains filtered or unexported fields
}

Store holds the handlers to BigQuery and Bigtable

func NewStore

func NewStore(
	bqClient *bigquery.Client,
	baseTable *bigtable.Table,
	branchTable *bigtable.Table) *Store

NewStore creates a new store.

func (*Store) BaseBt

func (st *Store) BaseBt() *bigtable.Table

BaseBt is the accessor for base bigtable

func (*Store) BranchBt

func (st *Store) BranchBt() *bigtable.Table

BranchBt is the accessor for branch bigtable

func (*Store) UpdateBranchBt

func (st *Store) UpdateBranchBt(branchTable *bigtable.Table)

UpdateBranchBt updates the branch bigtable

Jump to

Keyboard shortcuts

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