Documentation ¶
Index ¶
- func BoolType(se *sch.SchemaElement)
- func Float32Type(se *sch.SchemaElement)
- func Float64Type(se *sch.SchemaElement)
- func GetBools(r io.Reader, n int, pageSizes []int) ([]bool, error)
- func Int32Type(se *sch.SchemaElement)
- func Int64Type(se *sch.SchemaElement)
- func ReadLevels(r io.Reader) ([]int64, int, error)
- func RepetitionOptional(se *sch.SchemaElement)
- func RepetitionRequired(se *sch.SchemaElement)
- func StringType(se *sch.SchemaElement)
- func Uint32Type(se *sch.SchemaElement)
- func Uint64Type(se *sch.SchemaElement)
- func WriteLevels(w io.Writer, levels []int64) error
- type Field
- type FieldFunc
- type Metadata
- func (m *Metadata) Footer(w io.Writer) error
- func (m *Metadata) Offsets() (map[string][]Position, error)
- func (m *Metadata) PageHeader(r io.ReadSeeker) (*sch.PageHeader, error)
- func (m *Metadata) ReadFooter(r io.ReadSeeker) error
- func (m *Metadata) RowGroups() []RowGroup
- func (m *Metadata) Rows() int64
- func (m *Metadata) StartRowGroup(fields ...Field)
- func (m *Metadata) WritePageHeader(w io.Writer, col string, dataLen, compressedLen, count int) error
- type OptionalField
- type Position
- type ReadCounter
- type RequiredField
- type RowGroup
- type WriteCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolType ¶
func BoolType(se *sch.SchemaElement)
func Float32Type ¶
func Float32Type(se *sch.SchemaElement)
func Float64Type ¶
func Float64Type(se *sch.SchemaElement)
func Int32Type ¶
func Int32Type(se *sch.SchemaElement)
func Int64Type ¶
func Int64Type(se *sch.SchemaElement)
func ReadLevels ¶
ReadLevels reads the RLE encoded definition levels
func RepetitionOptional ¶
func RepetitionOptional(se *sch.SchemaElement)
func RepetitionRequired ¶
func RepetitionRequired(se *sch.SchemaElement)
func StringType ¶
func StringType(se *sch.SchemaElement)
func Uint32Type ¶
func Uint32Type(se *sch.SchemaElement)
func Uint64Type ¶
func Uint64Type(se *sch.SchemaElement)
Types ¶
type FieldFunc ¶
type FieldFunc func(*sch.SchemaElement)
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
func (*Metadata) PageHeader ¶
func (m *Metadata) PageHeader(r io.ReadSeeker) (*sch.PageHeader, error)
func (*Metadata) ReadFooter ¶
func (m *Metadata) ReadFooter(r io.ReadSeeker) error
func (*Metadata) StartRowGroup ¶
type OptionalField ¶ added in v0.0.6
type OptionalField struct { Defs []int64 // contains filtered or unexported fields }
func NewOptionalField ¶ added in v0.0.6
func NewOptionalField(col string) OptionalField
func (*OptionalField) DoRead ¶ added in v0.0.6
func (f *OptionalField) DoRead(r io.ReadSeeker, meta *Metadata, pos Position) (io.Reader, []int, error)
func (*OptionalField) Name ¶ added in v0.0.6
func (f *OptionalField) Name() string
func (*OptionalField) Values ¶ added in v0.0.6
func (f *OptionalField) Values() int
type ReadCounter ¶ added in v0.0.6
type ReadCounter struct {
// contains filtered or unexported fields
}
type RequiredField ¶ added in v0.0.6
type RequiredField struct {
// contains filtered or unexported fields
}
func NewRequiredField ¶ added in v0.0.6
func NewRequiredField(col string) RequiredField
func (*RequiredField) DoRead ¶ added in v0.0.6
func (f *RequiredField) DoRead(r io.ReadSeeker, meta *Metadata, pos Position) (io.Reader, []int, error)
func (*RequiredField) Name ¶ added in v0.0.6
func (f *RequiredField) Name() string
type RowGroup ¶ added in v0.0.6
type RowGroup struct { Rows int64 // contains filtered or unexported fields }
func (*RowGroup) Columns ¶ added in v0.0.6
func (r *RowGroup) Columns() []*sch.ColumnChunk
type WriteCounter ¶ added in v0.0.6
type WriteCounter struct {
// contains filtered or unexported fields
}
func NewWriteCounter ¶ added in v0.0.6
func NewWriteCounter(w io.Writer) *WriteCounter
Click to show internal directories.
Click to hide internal directories.