Documentation ¶
Index ¶
- func NewRowGroup(chunks []*ColumnChunk, numRows, offset int64) *parquet.RowGroup
- func UnmarshalJSON(data []byte, tree *schema.Tree) (map[string]*Column, error)
- type Column
- func (column *Column) AddBoolean(value bool, DL, RL int64)
- func (column *Column) AddByteArray(value []byte, DL, RL int64)
- func (column *Column) AddDouble(value float64, DL, RL int64)
- func (column *Column) AddFloat(value float32, DL, RL int64)
- func (column *Column) AddInt32(value int32, DL, RL int64)
- func (column *Column) AddInt64(value int64, DL, RL int64)
- func (column *Column) AddNull(DL, RL int64)
- func (column *Column) Encode(element *schema.Element) *ColumnChunk
- func (column *Column) Merge(column2 *Column)
- func (column *Column) String() string
- type ColumnChunk
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRowGroup ¶
func NewRowGroup(chunks []*ColumnChunk, numRows, offset int64) *parquet.RowGroup
NewRowGroup creates a new row group.
Types ¶
type Column ¶
type Column struct {
// contains filtered or unexported fields
}
Column - denotes values of a column.
func (*Column) AddBoolean ¶
AddBoolean - adds boolean value.
func (*Column) AddByteArray ¶
AddByteArray - adds byte array value.
type ColumnChunk ¶
type ColumnChunk struct { parquet.ColumnChunk // contains filtered or unexported fields }
ColumnChunk ...
func (*ColumnChunk) DataLen ¶
func (chunk *ColumnChunk) DataLen() int64
DataLen returns the length of the data.
Click to show internal directories.
Click to hide internal directories.