RawDataConvert

package
v4.5.2000+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawData

type RawData struct {
	DatabaseName    string
	MeasurementName string
	TagKeys         []string
	FieldKeys       []*common.InfluxField
	SourceData      interface{}
	Convert         *common.DataSourceConverter
	ConvertType     common.ConvertInt
	Granularity     int
	ClusterID       string
}

func NewRawData

func NewRawData(databaseName string, measurementName string, tags []string, fields []*common.InfluxField, sourceData interface{}, convert common.ConvertInt, granularity int, clusterID string) *RawData

func (*RawData) GetClusterID

func (n *RawData) GetClusterID() string

func (*RawData) GetFieldKey

func (n *RawData) GetFieldKey(keyName string) *common.InfluxField

func (*RawData) GetSourceData

func (n *RawData) GetSourceData() interface{}

func (*RawData) GetWriteRequest

func (n *RawData) GetWriteRequest() (*dpRawData.WriteRawdataRequest, error)

func (*RawData) IsTagKey

func (n *RawData) IsTagKey(keyName string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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