schemamanagement

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaManager

type SchemaManager interface {
	DiscoverDataSets() ([]string, error)
	FetchDataSet(dataSetIdentifier string) (*idrf.DataSet, error)
	PrepareDataSet(*idrf.DataSet, schemaconfig.SchemaStrategy) error
}

SchemaManager defines methods for schema discovery and preparation

type SchemaManagerService

type SchemaManagerService interface {
	Influx(client influx.Client, db, rp string, onConflictConvertIntToFloat bool) SchemaManager
	TimeScale(dbConn connections.PgxWrap, schema, chunkTimeInterval string) SchemaManager
}

SchemaManagerService defines methods for creating SchemaManagers

func NewSchemaManagerService

func NewSchemaManagerService(measureExplorer discovery.MeasureExplorer, tagExplorer discovery.TagExplorer, fieldExplorer discovery.FieldExplorer) SchemaManagerService

NewSchemaManagerService returns an instance of SchemaManagerService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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