stream

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format interface {
	SetSchema(physical.Schema)
	WriteRecord(Record) error
	WriteMeta(MetadataMessage) error
	Close() error
}

type InternallyConsistentOutputStreamWrapper

type InternallyConsistentOutputStreamWrapper struct {
	Source Node
}

func (*InternallyConsistentOutputStreamWrapper) Run

func (node *InternallyConsistentOutputStreamWrapper) Run(ctx ExecutionContext, produce ProduceFn, metaSend MetaSendFn) error

type NativeFormat

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

func NewNativeFormat

func NewNativeFormat(schema physical.Schema) *NativeFormat

func (*NativeFormat) Close

func (n *NativeFormat) Close() error

func (*NativeFormat) SetSchema added in v0.6.0

func (n *NativeFormat) SetSchema(schema physical.Schema)

func (*NativeFormat) WriteMeta

func (n *NativeFormat) WriteMeta(message MetadataMessage) error

func (*NativeFormat) WriteRecord

func (n *NativeFormat) WriteRecord(record Record) error

type OutputPrinter

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

func NewOutputPrinter

func NewOutputPrinter(source Node, format Format) *OutputPrinter

func (*OutputPrinter) Run

func (o *OutputPrinter) Run(execCtx ExecutionContext) error

Jump to

Keyboard shortcuts

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