Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Member Functions | Protected Attributes | List of all members
arrow::ChunkedArray Class Reference

A data structure managing a list of primitive Arrow arrays logically as one large array. More...

#include <arrow/table.h>

Public Member Functions

 ChunkedArray (const ArrayVector &chunks)
 
int64_t length () const
 
int64_t null_count () const
 
int num_chunks () const
 
std::shared_ptr< Arraychunk (int i) const
 
const ArrayVectorchunks () const
 
std::shared_ptr< DataTypetype () const
 
bool Equals (const ChunkedArray &other) const
 
bool Equals (const std::shared_ptr< ChunkedArray > &other) const
 

Protected Attributes

ArrayVector chunks_
 
int64_t length_
 
int64_t null_count_
 

Detailed Description

A data structure managing a list of primitive Arrow arrays logically as one large array.

Constructor & Destructor Documentation

◆ ChunkedArray()

arrow::ChunkedArray::ChunkedArray ( const ArrayVector chunks)
explicit

Member Function Documentation

◆ chunk()

std::shared_ptr<Array> arrow::ChunkedArray::chunk ( int  i) const
inline
Returns
chunk a particular chunk from the chunked array

◆ chunks()

const ArrayVector& arrow::ChunkedArray::chunks ( ) const
inline

◆ Equals() [1/2]

bool arrow::ChunkedArray::Equals ( const ChunkedArray other) const

◆ Equals() [2/2]

bool arrow::ChunkedArray::Equals ( const std::shared_ptr< ChunkedArray > &  other) const

◆ length()

int64_t arrow::ChunkedArray::length ( ) const
inline
Returns
the total length of the chunked array; computed on construction

◆ null_count()

int64_t arrow::ChunkedArray::null_count ( ) const
inline

◆ num_chunks()

int arrow::ChunkedArray::num_chunks ( ) const
inline

◆ type()

std::shared_ptr<DataType> arrow::ChunkedArray::type ( ) const

Member Data Documentation

◆ chunks_

ArrayVector arrow::ChunkedArray::chunks_
protected

◆ length_

int64_t arrow::ChunkedArray::length_
protected

◆ null_count_

int64_t arrow::ChunkedArray::null_count_
protected

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