Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
Loading...
Searching...
No Matches
lance::Batch Class Reference

#include <lance/detail/declarations.hpp>

Public Member Functions

 Batch (LanceBatch *b)
 
void to_arrow (ArrowArray *out_array, ArrowSchema *out_schema) const
 Export the complete record-batch schema and top-level struct array.
 
const LanceBatch * c_handle () const
 

Static Public Member Functions

static Batch from_arrow (ArrowArray *array, const ArrowSchema *schema)
 

Detailed Description

Definition at line 6040 of file declarations.hpp.

Constructor & Destructor Documentation

◆ Batch()

lance::Batch::Batch ( LanceBatch * b)
explicit

Member Function Documentation

◆ c_handle()

const LanceBatch * lance::Batch::c_handle ( ) const

◆ from_arrow()

static Batch lance::Batch::from_arrow ( ArrowArray * array,
const ArrowSchema * schema )
static

Adopt a non-NULL Arrow array. schema is borrowed and must outlive the call. The C API consumes the array on every return; on failure the source array is already released and this method throws.

◆ to_arrow()

void lance::Batch::to_arrow ( ArrowArray * out_array,
ArrowSchema * out_schema ) const

Export the complete record-batch schema and top-level struct array.


The documentation for this class was generated from the following file: