Documentation ¶
Index ¶
- Variables
- type Schema
- func (s *Schema[T]) Append(value T)
- func (s *Schema[T]) NewRecord() arrow.Record
- func (s *Schema[T]) Parquet() *schema.Schema
- func (s *Schema[T]) Proto(r arrow.Record, rows []int) []T
- func (s *Schema[T]) Read(ctx context.Context, r parquet.ReaderAtSeeker, columns []int) (arrow.Record, error)
- func (s *Schema[T]) Release()
- func (s *Schema[T]) Schema() *arrow.Schema
- func (s *Schema[T]) WriteParquet(w io.Writer) error
- func (s *Schema[T]) WriteParquetRecords(w io.Writer, records ...arrow.Record) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMxDepth = errors.New("max depth reached, either the message is deeply nested or a circular dependency was introduced")
Functions ¶
This section is empty.
Types ¶
type Schema ¶
func (*Schema[T]) Append ¶
func (s *Schema[T]) Append(value T)
Append appends protobuf value to the schema builder.This method is not safe for concurrent use.
func (*Schema[T]) NewRecord ¶
NewRecord returns buffered builder value as an arrow.Record. The builder is reset and can be reused to build new records.
func (*Schema[T]) WriteParquet ¶ added in v0.0.1
Click to show internal directories.
Click to hide internal directories.