functions

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

View Source
const FetchType = "fetch"

FetchType gets the series from storage

View Source
const ScalarType = "scalar"

ScalarType is a scalar series

Variables

This section is empty.

Functions

func NewScalarOp added in v0.4.1

func NewScalarOp(val float64) parser.Params

NewScalarOp creates a new scalar op

Types

type FetchNode

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

FetchNode is the execution node TODO: Make FetchNode private

func (*FetchNode) Execute

func (n *FetchNode) Execute(ctx context.Context) error

Execute runs the fetch node operation

type FetchOp

type FetchOp struct {
	Name     string
	Range    time.Duration
	Offset   time.Duration
	Matchers models.Matchers
}

FetchOp stores required properties for fetch TODO: Make FetchOp private

func (FetchOp) Bounds added in v0.4.1

func (o FetchOp) Bounds() transform.BoundSpec

Bounds returns the bounds for the spec

func (FetchOp) Node

func (o FetchOp) Node(controller *transform.Controller, storage storage.Storage, options transform.Options) parser.Source

Node creates an execution node

func (FetchOp) OpType

func (o FetchOp) OpType() string

OpType for the operator

func (FetchOp) String

func (o FetchOp) String() string

String representation

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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