types

package
v4.5.2003+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	SchemaMeta *schemas.SchemaMeta
	Rawdata    []*Rawdata
}

type DataDAO

type DataDAO interface {
	WriteData(*WriteDataRequest) error
	ReadData(*ReadDataRequest) (*Data, error)
	DeleteData(*DeleteDataRequest) error
}

type DeleteData

type DeleteData struct {
	Measurement    string
	MetricType     schemas.MetricType
	Boundary       schemas.ResourceBoundary
	Quota          schemas.ResourceQuota
	QueryCondition *common.QueryCondition
}

type DeleteDataRequest

type DeleteDataRequest struct {
	SchemaMeta *schemas.SchemaMeta
	DeleteData []*DeleteData
}

type Rawdata

type Rawdata struct {
	Measurement string
	MetricType  schemas.MetricType
	Boundary    schemas.ResourceBoundary
	Quota       schemas.ResourceQuota
	Groups      []*common.Group
}

type ReadData

type ReadData struct {
	Measurement    string
	MetricType     schemas.MetricType
	Boundary       schemas.ResourceBoundary
	Quota          schemas.ResourceQuota
	QueryCondition *common.QueryCondition
}

type ReadDataRequest

type ReadDataRequest struct {
	SchemaMeta *schemas.SchemaMeta
	ReadData   []*ReadData
}

type WriteData

type WriteData struct {
	Measurement string
	MetricType  schemas.MetricType
	Boundary    schemas.ResourceBoundary
	Quota       schemas.ResourceQuota
	Columns     []string
	Rows        []*common.Row
}

type WriteDataRequest

type WriteDataRequest struct {
	SchemaMeta *schemas.SchemaMeta
	WriteData  []*WriteData
}

Jump to

Keyboard shortcuts

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