Documentation ¶
Index ¶
- func BoolType(se *sch.SchemaElement)
- func Float32Type(se *sch.SchemaElement)
- func Float64Type(se *sch.SchemaElement)
- func GetBools(r io.Reader, n 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, vals []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() []*sch.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 Position
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 ¶
Click to show internal directories.
Click to hide internal directories.