package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/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.
NewFileSerializer creates a FileSerializer for the given types.
NewRecordBatchSerializer creates a new RecordBatchSerializer according to typs.
NewTestFileDeserializerFromPath constructs a FileDeserializer by reading it from a file.
# Constants
ArrowToBatchOnly indicates that only arrow-to-batch conversion can happen.
BatchToArrowOnly indicates that only batch-to-arrow conversion can happen.
BiDirectional indicates that both arrow-to-batch and batch-to-arrow conversions can happen.
# 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.
# Type aliases
ConversionMode describes how ArrowBatchConverter will be utilized.