parquet

package
v0.0.0-...-4fd8dbe Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigBundle

func ConfigBundle(b *bundlr.Bundle, prototype interface{}) *bundlr.Bundle

ConfigBundle configs an existing bundle instance for handling parquet

func NewParquetFile

func NewParquetFile(fs afero.Fs, file bundlr.File) source.ParquetFile

Types

type Decoder

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

func (*Decoder) Close

func (e *Decoder) Close() error

func (*Decoder) Decode

func (e *Decoder) Decode(record interface{}) error

type DecoderMaker

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

func NewDecoderMaker

func NewDecoderMaker(b *bundlr.Bundle) *DecoderMaker

func (*DecoderMaker) Make

func (m *DecoderMaker) Make(f bundlr.File) (bundlr.Decoder, error)

func (*DecoderMaker) WithPrototype

func (m *DecoderMaker) WithPrototype(proto interface{}) *DecoderMaker

type Encoder

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

func (*Encoder) Close

func (e *Encoder) Close() error

func (*Encoder) Encode

func (e *Encoder) Encode(record interface{}) error

type EncoderMaker

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

func NewEncoderMaker

func NewEncoderMaker(b *bundlr.Bundle) *EncoderMaker

func (*EncoderMaker) Make

func (m *EncoderMaker) Make(f bundlr.File) (bundlr.Encoder, error)

func (*EncoderMaker) WithPrototype

func (m *EncoderMaker) WithPrototype(proto interface{}) *EncoderMaker

Jump to

Keyboard shortcuts

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