streamquery

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyBuilderNames

func KeyBuilderNames() []string

Types

type KeyBuilder

type KeyBuilder func([]string, []interface{}) []byte

type KeyValue

type KeyValue struct {
	Key, Value []byte
}

type StreamQuery

type StreamQuery struct {
	// The query to synchronize
	Query string
	// The key builder to use ("json-object", "json-array", etc.)
	KeyBuilder string
	// The key columns
	KeyColumns []string
	// Group the objects by key
	GroupByKey bool
}

func (*StreamQuery) BindFlags

func (sq *StreamQuery) BindFlags(flags *pflag.FlagSet)

func (*StreamQuery) StreamTo

func (sq *StreamQuery) StreamTo(output chan KeyValue)

Jump to

Keyboard shortcuts

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