Documentation
¶
Overview ¶
Package writer exports frames to files. Each output format registers itself in the format registry via init().
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportedFormats ¶
func SupportedFormats() []string
SupportedFormats lists registered format names, sorted.
Types ¶
type Compression ¶
type Compression string
Compression names parquet compression codecs.
const ( CompressionNone Compression = "none" CompressionSnappy Compression = "snappy" CompressionGzip Compression = "gzip" CompressionZstd Compression = "zstd" CompressionLZ4 Compression = "lz4" CompressionBrotli Compression = "brotli" )
type Options ¶
type Options struct {
Separator rune // csv field separator (default ',')
Quote rune // csv quote char (default '"')
Header bool // include header row (default true)
Pretty bool // json: indent output
Compression Compression // parquet codec (default snappy)
}
Options carries all export knobs; format writers pick what applies.
func DefaultOptions ¶
func DefaultOptions() Options
DefaultOptions returns the option defaults shared by all formats.
Click to show internal directories.
Click to hide internal directories.