Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMeasureExtractionConfig ¶
func ValidateMeasureExtractionConfig(config *MeasureExtraction) error
ValidateMeasureExtractionConfig validates the fields 'chunkSize' must be positive, specifies the number of rows the database server sends to the client at once 'limit' if > 0 limits the number of points extracted from the measure, if == 0 all data is requested 'from' and 'to' are timestamps and optional. If specified request data only between these timescamps
Types ¶
type ExtractionConfig ¶
type ExtractionConfig struct { ExtractorID string MeasureExtraction *MeasureExtraction DataBufferSize uint16 }
ExtractionConfig combines everything needed to create and start an Extractor
Click to show internal directories.
Click to hide internal directories.