functions

package
v0.0.0-...-9649366 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const FetchType = "fetch"

FetchType gets the series from storage

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchNode

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

FetchNode is a fetch execution node. TODO: Make FetchNode private

func (*FetchNode) Execute

func (n *FetchNode) Execute(queryCtx *models.QueryContext) 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

func (o FetchOp) Bounds() transform.BoundSpec

Bounds returns the bounds for this operation.

func (FetchOp) Node

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

Node creates the fetch execution node for this operation.

func (FetchOp) OpType

func (o FetchOp) OpType() string

OpType for the operator.

func (FetchOp) String

func (o FetchOp) String() string

String is the string representation for this operation.

Directories

Path Synopsis
Package temporal is a generated GoMock package.
Package temporal is a generated GoMock package.

Jump to

Keyboard shortcuts

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