reader

package
v2.0.0-alpha.11 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvReader

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

func (*CsvReader) Bind

func (r *CsvReader) Bind(ctx api.StreamContext, fileStream io.Reader, _ int) error

func (*CsvReader) Close

func (r *CsvReader) Close(ctx api.StreamContext) error

func (*CsvReader) IsBytesReader

func (r *CsvReader) IsBytesReader() bool

func (*CsvReader) Provision

func (r *CsvReader) Provision(ctx api.StreamContext, props map[string]any) error

func (*CsvReader) Read

func (r *CsvReader) Read(ctx api.StreamContext) (any, error)

type LinesReader

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

func (*LinesReader) Bind

func (r *LinesReader) Bind(ctx api.StreamContext, fileStream io.Reader, maxSize int) error

func (*LinesReader) Close

func (r *LinesReader) Close(ctx api.StreamContext) error

func (*LinesReader) IsBytesReader

func (r *LinesReader) IsBytesReader() bool

func (*LinesReader) Provision

func (r *LinesReader) Provision(ctx api.StreamContext, props map[string]any) error

func (*LinesReader) Read

func (r *LinesReader) Read(ctx api.StreamContext) (any, error)

Jump to

Keyboard shortcuts

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