Documentation ¶
Overview ¶
package merge provides a merger for rothko data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Error = errs.Class("merge")
Error wraps all of the errors originating at this package.
Functions ¶
Types ¶
type MergeOptions ¶
type MergeOptions struct { // Params are the parameters for the output distribution the merged record // should have. Params tdigest.Params // Records are the set of records to merge. Records []data.Record }
MergeOptions are the arguments passed to Merge.
type Merger ¶
type Merger struct {
// contains filtered or unexported fields
}
Merger allows iterative pushing of records in and constructs a series of merged columns. The only requirement is that the end time on the records passed to push are decreasing.
func NewMerger ¶
func NewMerger(opts MergerOptions) *Merger
NewMerger constructs a Merger with the options.
Click to show internal directories.
Click to hide internal directories.