parquet

package
v0.0.0-...-fecdc3c Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-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 ParquetFileReader

type ParquetFileReader struct {
	NumRows int
	Cursor  int
	// contains filtered or unexported fields
}

func New

func New(readerx filesystem.VirtualFile, fileName string) *ParquetFileReader

func (*ParquetFileReader) Read

func (self *ParquetFileReader) Read() (row *util.Row, err error)

func (*ParquetFileReader) ReadHeader

func (self *ParquetFileReader) ReadHeader() (fieldNames []string, err error)

type PqFile

type PqFile struct {
	FileName string
	VF       filesystem.VirtualFile
}

func (*PqFile) Close

func (self *PqFile) Close() error

func (*PqFile) Create

func (self *PqFile) Create(name string) (source.ParquetFile, error)

func (*PqFile) Open

func (self *PqFile) Open(name string) (source.ParquetFile, error)

func (*PqFile) Read

func (self *PqFile) Read(b []byte) (n int, err error)

func (*PqFile) Seek

func (self *PqFile) Seek(offset int64, pos int) (int64, error)

func (*PqFile) Write

func (self *PqFile) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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