querier

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 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