reader

package
v0.0.0-...-9d1197e Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3ParquetReader

type S3ParquetReader[T any] struct {
	// contains filtered or unexported fields
}

func New

func New[T any](
	s3Client *s3.Client, bucket string, key string, batchSize int, numProcs int64,
) (*S3ParquetReader[T], error)

func (*S3ParquetReader[T]) Close

func (pr *S3ParquetReader[T]) Close() error

func (*S3ParquetReader[T]) GetBatchSize

func (pr *S3ParquetReader[T]) GetBatchSize() int

func (*S3ParquetReader[T]) GetNextChunk

func (pr *S3ParquetReader[T]) GetNextChunk() (*[]T, error)

func (*S3ParquetReader[T]) GetNumChunks

func (pr *S3ParquetReader[T]) GetNumChunks() int

func (*S3ParquetReader[T]) GetNumRows

func (pr *S3ParquetReader[T]) GetNumRows() int

Jump to

Keyboard shortcuts

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