output_data_staging

package
v0.5.612 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Outputter

type Outputter interface {
	OutputExecutorResult() internaldto.ExecutorOutput
}

func NewNaiveOutputter

func NewNaiveOutputter(
	packetPreparator PacketPreparator,
	nonControlColumns []typing.ColumnMetadata,
	typCfg typing.Config,
) Outputter

type PacketPreparator

type PacketPreparator interface {
	PrepareOutputPacket() (dto.OutputPacket, error)
}

func NewNaivePacketPreparator

func NewNaivePacketPreparator(
	source Source,
	nonControlColumns []typing.ColumnMetadata,
	stream streaming.MapStream,
	drmCfg drm.Config,
) PacketPreparator

type Source

type Source interface {
	SourceSQLRows() (*sql.Rows, error)
}

func NewNaiveSource

func NewNaiveSource(
	querier sqlmachinery.Querier,
	stmtCtx drm.PreparedStatementParameterized,
	drmCfg drm.Config,
) Source

Jump to

Keyboard shortcuts

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