parquet

package
v0.0.0-...-c23ba73 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileReader

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

func NewFileReader

func NewFileReader(fs fs.Fs, filePath string, options *options.ReadOptions) (*FileReader, error)

func (*FileReader) Close

func (r *FileReader) Close() error

func (*FileReader) Read

func (r *FileReader) Read() (arrow.Record, error)

When the Reader reaches the end of the underlying stream, it returns (nil, io.EOF)

type FileWriter

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

func NewFileWriter

func NewFileWriter(schema *arrow.Schema, fs fs.Fs, filePath string) (*FileWriter, error)

func (*FileWriter) Close

func (f *FileWriter) Close() error

func (*FileWriter) Count

func (f *FileWriter) Count() int64

func (*FileWriter) Write

func (f *FileWriter) Write(record arrow.Record) error

Jump to

Keyboard shortcuts

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