remote

package
v0.15.17-hotfix.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressedSeriesFromSeriesIterator added in v0.15.14

func CompressedSeriesFromSeriesIterator(
	it encoding.SeriesIterator,
	iterPools encoding.IteratorPools,
) (*rpc.Series, error)

CompressedSeriesFromSeriesIterator builds compressed rpc series from a SeriesIterator SeriesIterator is the top level iterator returned by m3db

func DecodeCompressedFetchResponse added in v0.15.14

func DecodeCompressedFetchResponse(
	fetchResult *rpc.FetchResponse,
	iteratorPools encoding.IteratorPools,
) (encoding.SeriesIterators, error)

DecodeCompressedFetchResponse decodes compressed fetch response to seriesIterators.

func NewGRPCServer

func NewGRPCServer(
	querier m3.Querier,
	queryContextOpts models.QueryContextOptions,
	poolWrapper *pools.PoolWrapper,
	instrumentOpts instrument.Options,
) *grpc.Server

NewGRPCServer builds a grpc server which must be started later.

Types

type Client

type Client interface {
	storage.Querier
	Close() error
}

Client is the remote GRPC client.

func NewGRPCClient

func NewGRPCClient(
	name string,
	addresses []string,
	poolWrapper *pools.PoolWrapper,
	opts m3db.Options,
	instrumentOpts instrument.Options,
	additionalDialOpts ...grpc.DialOption,
) (Client, error)

NewGRPCClient creates a new remote GRPC client.

Jump to

Keyboard shortcuts

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