local

package
v0.0.0-...-f3846c7 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalFileReader

func NewLocalFileReader(name string) (source.ParquetFile, error)

func NewLocalFileWriter

func NewLocalFileWriter(name string) (source.ParquetFile, error)

Types

type LocalFile

type LocalFile struct {
	FilePath string
	File     *os.File
}

func (*LocalFile) Close

func (self *LocalFile) Close() error

func (*LocalFile) Create

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

func (*LocalFile) Open

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

func (*LocalFile) Read

func (self *LocalFile) Read(b []byte) (cnt int, err error)

func (*LocalFile) Seek

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

func (*LocalFile) Write

func (self *LocalFile) 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