parquet

package
v0.0.0-...-61ce063 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 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 FileRef

type FileRef struct {
	Path      string
	IsOpen    bool
	NumOfRows int64
	// contains filtered or unexported fields
}

func (*FileRef) GetNumRows

func (ref *FileRef) GetNumRows() (int64, error)

func (*FileRef) GetSchema

func (ref *FileRef) GetSchema() (*schema.PathMapType, error)

func (*FileRef) Open

func (ref *FileRef) Open() error

func (*FileRef) ReadLines

func (ref *FileRef) ReadLines(startLine int64, offset int64) ([]map[string]interface{}, error)

type ParquetReader

type ParquetReader interface {
	New() *ParquetReader
	Open() error
	CloseFile() error
	ReadLines(startLine int64, offset int64) ([]interface{}, error)
	GetSchema() (*schema.PathMapType, error)
	GetNumRows() (int64, error)
}

Jump to

Keyboard shortcuts

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