sqlstream

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSimpleSQLMapStream

func NewSimpleSQLMapStream(
	selectCtx drm.PreparedStatementCtx,
	insertContainer tableinsertioncontainer.TableInsertionContainer,
	drmCfg drm.Config,
	sqlEngine sqlengine.SQLEngine,
) streaming.MapStream

func NewStaticMapStream

func NewStaticMapStream(
	payload []map[string]interface{},
) streaming.MapStream

Types

type SimpleSQLMapStream

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

func (*SimpleSQLMapStream) Read

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

func (*SimpleSQLMapStream) Write

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

type StaticMapStream

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

func (*StaticMapStream) Read

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

func (*StaticMapStream) Write

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

Jump to

Keyboard shortcuts

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