package
20.1.0-beta.2+incompatible
Repository: https://github.com/jbowens/cockroach.git
Documentation: pkg.go.dev
# Packages
Package arrowserde contains the flatbuffer generated code used for Apache Arrow serialization (and some small helpers associated with the generated code).
# Functions
NewArrowBatchConverter converts coldata.Batches to []*array.Data and back again according to the schema specified by typs.
NewFileDeserializerFromBytes constructs a FileDeserializer for an in-memory buffer.
NewFileDeserializerFromPath constructs a FileDeserializer by reading it from a file.
NewFileSerializer creates a FileSerializer for the given coltypes.
NewRecordBatchSerializer creates a new RecordBatchSerializer according to typs.
# Structs
ArrowBatchConverter converts batches to arrow column data ([]*array.Data) and back again.
FileDeserializer decodes columnar data batches from files encoded according to the arrow spec.
FileSerializer converts our in-mem columnar batch representation into the arrow specification's file format.
RecordBatchSerializer serializes RecordBatches in the standard Apache Arrow IPC format using flatbuffers.