merge

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2017 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package merge represents merge stage of analysis. Merge stage merge different types of the same field (result: [name] => types aggregation).

Index

Constants

This section is empty.

Variables

View Source
var (
	BsonFieldName string
	BsonCount     string
	BsonTypes     string
)

Abbreviations for aggregation pipeline.f

Functions

func FieldChannelToSlice

func FieldChannelToSlice(ch <-chan analysis.Field) analysis.Fields

FieldChannelToSlice reads Field channel to slice.

func ToFieldChannel

func ToFieldChannel(inCh interface{}, location *time.Location, concurrency int, bufferSize int) <-chan analysis.Field

ToFieldChannel converts input channel to Field channel. The input may by raw []byte channel or Field channel (no conversion).

Types

type Options

type Options struct {
}

Options influence the results of merge stage

type StageFactory

type StageFactory func(options *Options) *analysis.Stage

StageFactory prototype.

Directories

Path Synopsis
Package mergeInDB is the implementation of the merge stage that runs in database.
Package mergeInDB is the implementation of the merge stage that runs in database.
Package mergeLocally is the implementation of the merge stage that runs locally.
Package mergeLocally is the implementation of the merge stage that runs locally.
Package mergeTests contains common tests for merge stage.
Package mergeTests contains common tests for merge stage.

Jump to

Keyboard shortcuts

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