Back to godoc.org

Package functions

v0.0.0-...-9649366
Latest Go to latest

The highest tagged major version is .

Published: Nov 21, 2019 | License: Apache-2.0 | Module: github.com/chronosphereiox/m3

Index

Constants

const FetchType = "fetch"

FetchType gets the series from storage

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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier