tsdb

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackend

func NewBackend(logger logger.Logger, v3ioContext v3io.Context, cfg *frames.BackendConfig, framesConfig *frames.Config) (frames.DataBackend, error)

NewBackend returns a new TSDB backend

Types

type Backend

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

Backend is a TSDB backend

func (*Backend) Create

func (b *Backend) Create(request *frames.CreateRequest) error

Create creates a TSDB table

func (*Backend) Delete

func (b *Backend) Delete(request *frames.DeleteRequest) error

Delete deletes a table or part of it

func (*Backend) Exec

func (b *Backend) Exec(request *frames.ExecRequest) (frames.Frame, error)

Exec executes a command

func (*Backend) GetAdapter

func (b *Backend) GetAdapter(session *frames.Session, password string, token string, path string) (*tsdb.V3ioAdapter, error)

GetAdapter returns an adapter

func (*Backend) GetQuerier

func (b *Backend) GetQuerier(session *frames.Session, password string, token string, path string) (*pquerier.V3ioQuerier, error)

GetQuerier returns a querier

func (*Backend) Read

func (b *Backend) Read(request *frames.ReadRequest) (frames.FrameIterator, error)

func (*Backend) Write

func (b *Backend) Write(request *frames.WriteRequest) (frames.FrameAppender, error)

Jump to

Keyboard shortcuts

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