extraction

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 Extractor

type Extractor interface {
	ID() string
	Prepare() (*idrf.Bundle, error)
	Start(chan error) error
}

Extractor defines an interface for pulling data out of a database. When Prepare is called a data channel with a description of the data is returned. On Start the data channel is populated.

type ExtractorService

type ExtractorService interface {
	InfluxExtractor(influx.Client, *config.ExtractionConfig) (Extractor, error)
}

ExtractorService defines methods for creating extractor instances

func NewExtractorService

func NewExtractorService(schemaManagerService schemamanagement.SchemaManagerService) ExtractorService

NewExtractorService creates a new instance of the service that can create extractors

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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