readservice

package
v2.0.0-beta.15 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 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
	Min   bool
	Max   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) HaveMax

func (c GroupCapability) HaveMax() bool

func (GroupCapability) HaveMin

func (c GroupCapability) HaveMin() bool

func (GroupCapability) HaveSum

func (c GroupCapability) HaveSum() bool

type WindowAggregateCapability

type WindowAggregateCapability struct {
	Min    bool
	Max    bool
	Mean   bool
	Count  bool
	Sum    bool
	First  bool
	Last   bool
	Offset bool
}

func (WindowAggregateCapability) HaveCount

func (w WindowAggregateCapability) HaveCount() bool

func (WindowAggregateCapability) HaveFirst

func (w WindowAggregateCapability) HaveFirst() bool

func (WindowAggregateCapability) HaveLast

func (w WindowAggregateCapability) HaveLast() 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) HaveOffset

func (w WindowAggregateCapability) HaveOffset() 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