Versions in this module Expand all Collapse all v0 v0.7.2 Jan 12, 2022 Changes in this version + func BoolType(se *sch.SchemaElement) + func Float32Type(se *sch.SchemaElement) + func Float64Type(se *sch.SchemaElement) + func Gzip(p *ParquetWriter) error + func Int32Type(se *sch.SchemaElement) + func Int64Type(se *sch.SchemaElement) + func MaxPageSize(m int) func(*ParquetWriter) error + func Snappy(p *ParquetWriter) error + func StringType(se *sch.SchemaElement) + func Uint32Type(se *sch.SchemaElement) + func Uint64Type(se *sch.SchemaElement) + func Uncompressed(p *ParquetWriter) error + type Field interface + Add func(r Person) + Levels func() ([]uint8, []uint8) + Name func() string + Read func(r io.ReadSeeker, pg parquet.Page) error + Scan func(r *Person) + Schema func() parquet.Field + Write func(w io.Writer, meta *parquet.Metadata) error + func Fields(compression compression) []Field + type Hobby struct + Difficulty *int32 + Name string + Skills []Skill + type Int32OptionalField struct + func NewInt32OptionalField(...) *Int32OptionalField + func (f *Int32OptionalField) Add(r Person) + func (f *Int32OptionalField) Levels() ([]uint8, []uint8) + func (f *Int32OptionalField) Read(r io.ReadSeeker, pg parquet.Page) error + func (f *Int32OptionalField) Scan(r *Person) + func (f *Int32OptionalField) Schema() parquet.Field + func (f *Int32OptionalField) Write(w io.Writer, meta *parquet.Metadata) error + type Levels struct + Defs []uint8 + Name string + Reps []uint8 + type ParquetReader struct + func NewParquetReader(r io.ReadSeeker, opts ...func(*ParquetReader)) (*ParquetReader, error) + func (p *ParquetReader) Error() error + func (p *ParquetReader) Levels() []Levels + func (p *ParquetReader) Next() bool + func (p *ParquetReader) Rows() int64 + func (p *ParquetReader) Scan(x *Person) + type ParquetWriter struct + func NewParquetWriter(w io.Writer, opts ...func(*ParquetWriter) error) (*ParquetWriter, error) + func (p *ParquetWriter) Add(rec Person) + func (p *ParquetWriter) Close() error + func (p *ParquetWriter) Write() error + type Person struct + Hobby *Hobby + Name string + type Skill struct + Difficulty string + Name string + type StringField struct + func NewStringField(read func(r Person) string, write func(r *Person, vals []string), ...) *StringField + func (f *StringField) Add(r Person) + func (f *StringField) Levels() ([]uint8, []uint8) + func (f *StringField) Read(r io.ReadSeeker, pg parquet.Page) error + func (f *StringField) Scan(r *Person) + func (f *StringField) Schema() parquet.Field + func (f *StringField) Write(w io.Writer, meta *parquet.Metadata) error + type StringOptionalField struct + func NewStringOptionalField(...) *StringOptionalField + func (f *StringOptionalField) Add(r Person) + func (f *StringOptionalField) Levels() ([]uint8, []uint8) + func (f *StringOptionalField) Read(r io.ReadSeeker, pg parquet.Page) error + func (f *StringOptionalField) Scan(r *Person) + func (f *StringOptionalField) Schema() parquet.Field + func (f *StringOptionalField) Write(w io.Writer, meta *parquet.Metadata) error