functions

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: Apache-2.0 Imports: 11 Imported by: 2

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 added in v0.4.1

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