readservice

package
v2.0.0-beta.12 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyQueryService

func NewProxyQueryService(queryController *control.Controller) query.ProxyQueryService

NewProxyQueryService returns a proxy query service based on the given queryController suitable for the storage read service.

func NewStore

func NewStore(viewer reads.Viewer) reads.Store

NewStore creates a store used to query time-series data.

Types

type GroupCapability

type GroupCapability struct {
	Count bool
	Sum   bool
	First bool
	Last  bool
}

func (GroupCapability) HaveCount

func (c GroupCapability) HaveCount() bool

func (GroupCapability) HaveFirst

func (c GroupCapability) HaveFirst() bool

func (GroupCapability) HaveLast

func (c GroupCapability) HaveLast() bool

func (GroupCapability) HaveSum

func (c GroupCapability) HaveSum() bool

type WindowAggregateCapability

type WindowAggregateCapability struct {
	Min   bool
	Max   bool
	Mean  bool
	Count bool
	Sum   bool
}

func (WindowAggregateCapability) HaveCount

func (w WindowAggregateCapability) HaveCount() bool

func (WindowAggregateCapability) HaveMax

func (w WindowAggregateCapability) HaveMax() bool

func (WindowAggregateCapability) HaveMean

func (w WindowAggregateCapability) HaveMean() bool

func (WindowAggregateCapability) HaveMin

func (w WindowAggregateCapability) HaveMin() bool

func (WindowAggregateCapability) HaveSum

func (w WindowAggregateCapability) HaveSum() bool

Jump to

Keyboard shortcuts

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