discovery

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldExplorer

type FieldExplorer interface {
	// DiscoverMeasurementFields creates the ColumnInfo for the Fields of a given measurement
	DiscoverMeasurementFields(influxClient influx.Client, db, rp, measurement string, onConflictConvertIntToFloat bool) ([]*idrf.Column, error)
}

FieldExplorer defines an API for discovering InfluxDB fields of a specified measurement

func NewFieldExplorer

func NewFieldExplorer(queryService influxqueries.InfluxQueryService) FieldExplorer

NewFieldExplorer creates a new instance of the Field discovert API

type MeasureExplorer

type MeasureExplorer interface {
	FetchAvailableMeasurements(influxClient influx.Client, db, rp string, onConflictConvertIntToFloat bool) ([]string, error)
}

MeasureExplorer defines an API for discovering the available measures in an InfluxDB database

func NewMeasureExplorer

func NewMeasureExplorer(queryService influxqueries.InfluxQueryService, fieldExplorer FieldExplorer) MeasureExplorer

NewMeasureExplorer creates a new implementation of the MeasureExplorer API

type TagExplorer

type TagExplorer interface {
	DiscoverMeasurementTags(influxClient influx.Client, database, rp, measure string) ([]*idrf.Column, error)
}

TagExplorer Defines an API for discovering the tags of an InfluxDB measurement

func NewTagExplorer

func NewTagExplorer(queryService influxqueries.InfluxQueryService) TagExplorer

NewTagExplorer creates a new implementation of that can discover the tags of an influx measurement

Jump to

Keyboard shortcuts

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