querier

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigQueryService

type BigQueryService struct {
	Client *bigquery.Client
}

BigQueryService expl

func NewBQ

func NewBQ(ctx context.Context, credPath string) (*BigQueryService, error)

NewBQ expl

func (*BigQueryService) DoQuery

func (*BigQueryService) DoQuery(ctx context.Context, query bigquery.Query, outChan chan<- []bigquery.Value, doneChan chan<- bool) error

DoQuery expl

func (*BigQueryService) GetQuota

func (*BigQueryService) GetQuota(ctx context.Context, query bigquery.Query) (bytes int64, err error)

GetQuota expl

func (*BigQueryService) MakeSQLquery

func (bq *BigQueryService) MakeSQLquery(query string) *bigquery.Query

MakeSQLquery expl

type DatastoreService

type DatastoreService struct {
	Client *datastore.Client
}

DatastoreService expl

func NewDS

func NewDS(ctx context.Context, credPath string) (*DatastoreService, error)

NewDS expl

func (*DatastoreService) DoQuery

func (ds *DatastoreService) DoQuery(ctx context.Context, query datastore.Query, outChan chan<- map[datastore.Key]interface{}, doneChan chan<- bool) error

DoQuery expl

func (*DatastoreService) MakeGQLquery

func (*DatastoreService) MakeGQLquery(kind string, args map[string]interface{}) *datastore.Query

MakeGQLquery expl

type Querier

type Querier interface {
	DoQuery(ctx context.Context, query string, dst ...interface{}) error
}

Querier expl

Jump to

Keyboard shortcuts

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