bigquery

package
v0.0.0-...-7fad99f Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseUUID

func ParseUUID(time uuid.Time, seq uint16, nodeId []byte) uuid.UUID

Types

type ReaderService

type ReaderService struct {
	// contains filtered or unexported fields
}

func NewReaderService

func NewReaderService(client *storage.BigQueryReadClient, project string) *ReaderService

func (*ReaderService) NewSession

func (s *ReaderService) NewSession(ctx context.Context, addr *domain.SegmentAddress, fromMsgId uuid.UUID) (*ReaderSession, error)

type ReaderSession

type ReaderSession struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(ctx context.Context, client *storage.BigQueryReadClient, projectId string, fromMsgId uuid.UUID, table string, traceId string) (*ReaderSession, error)

func (*ReaderSession) Poll

func (r *ReaderSession) Poll(ctx context.Context, buf []byte) (out []byte, lastMsgId uuid.UUID, err error)

Jump to

Keyboard shortcuts

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