streaming

package
v0.5.643 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapReader

type MapReader interface {
	StackQLReader
	Read() ([]map[string]interface{}, error)
}

type MapStream

type MapStream interface {
	MapReader
	MapWriter
}

func NewNopMapStream

func NewNopMapStream() MapStream

func NewSimpleProjectionMapStream

func NewSimpleProjectionMapStream(projection map[string]string, staticStore map[string]interface{}) MapStream

func NewStandardMapStream

func NewStandardMapStream() MapStream

type MapWriter

type MapWriter interface {
	StackQLWriter
	Write([]map[string]interface{}) error
}

type NopMapStream

type NopMapStream struct {
}

func (*NopMapStream) Read

func (ss *NopMapStream) Read() ([]map[string]interface{}, error)

func (*NopMapStream) Write

func (ss *NopMapStream) Write(_ []map[string]interface{}) error

type SimpleProjectionMapStream

type SimpleProjectionMapStream struct {
	// contains filtered or unexported fields
}

func (*SimpleProjectionMapStream) Read

func (ss *SimpleProjectionMapStream) Read() ([]map[string]interface{}, error)

func (*SimpleProjectionMapStream) Write

func (ss *SimpleProjectionMapStream) Write(input []map[string]interface{}) error

type StackQLReadWriter

type StackQLReadWriter interface {
	StackQLReader
	StackQLWriter
}

type StackQLReader

type StackQLReader interface{}

type StackQLWriter

type StackQLWriter interface{}

type StandardMapStream

type StandardMapStream struct {
	// contains filtered or unexported fields
}

func (*StandardMapStream) Read

func (ss *StandardMapStream) Read() ([]map[string]interface{}, error)

func (*StandardMapStream) Write

func (ss *StandardMapStream) Write(input []map[string]interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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