parquet

package
v0.11.9 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParquetDataService

type ParquetDataService struct {
	Setting *ParquetSetting
	Schema  *parquet.Schema
	Raw     chan any
	Filter  func(msg []any) []any
}

func NewParquetDataServiceBySchema

func NewParquetDataServiceBySchema(setting *ParquetSetting, ss *parquet.Schema, c chan any) *ParquetDataService

func NewParquetDataServiceT

func NewParquetDataServiceT[T any](settings *ParquetSetting, filenamePattern string, c chan T) *ParquetDataService

func (*ParquetDataService) Start

func (p *ParquetDataService) Start(ctx context.Context) error

func (*ParquetDataService) WriteMessages

func (p *ParquetDataService) WriteMessages(msgs []any) (string, error)

type ParquetSetting

type ParquetSetting struct {
	FsKey           string // key for load FS settings
	Folder          string
	FilenamePattern string
	BufferSize      int // settings for batch
	BufferDur       time.Duration
	Compress        string // should enabled compress
	Ackfile         bool   // should generate ack file.

}

func DefaultParquetSetting

func DefaultParquetSetting() *ParquetSetting

Jump to

Keyboard shortcuts

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