filehandler

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SnakeCase = iota
	CamelCase
	UpperCase
)

Variables

This section is empty.

Functions

func NewParquetReader

func NewParquetReader(pFile source.ParquetFile, obj interface{}, np int64) (*reader.ParquetReader, error)

Types

type Case

type Case uint

type GZIPLocalFileHandler

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

func NewGZIPLocalFileHandler

func NewGZIPLocalFileHandler(casing Case) *GZIPLocalFileHandler

func (*GZIPLocalFileHandler) Read

func (h *GZIPLocalFileHandler) Read(_ context.Context, path string) error

func (*GZIPLocalFileHandler) RemoveIdentity

func (h *GZIPLocalFileHandler) RemoveIdentity(ctx context.Context, attributes []model.User) error

func (*GZIPLocalFileHandler) Write

func (h *GZIPLocalFileHandler) Write(_ context.Context, path string) error

type LocalFileHandler

type LocalFileHandler interface {
	Read(ctx context.Context, path string) error
	RemoveIdentity(ctx context.Context, attributes []model.User) error
	Write(ctx context.Context, path string) error
}

type ParquetLocalFileHandler

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

func NewParquetLocalFileHandler

func NewParquetLocalFileHandler() *ParquetLocalFileHandler

func (*ParquetLocalFileHandler) Read

func (*ParquetLocalFileHandler) RemoveIdentity

func (h *ParquetLocalFileHandler) RemoveIdentity(_ context.Context, attributes []model.User) error

func (*ParquetLocalFileHandler) Write

Jump to

Keyboard shortcuts

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