Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Member Functions | List of all members
arrow::TypedBufferBuilder< T > Class Template Reference

#include <arrow/buffer.h>

Inheritance diagram for arrow::TypedBufferBuilder< T >:
arrow::BufferBuilder

Public Member Functions

 TypedBufferBuilder (MemoryPool *pool)
 
Status Append (T arithmetic_value)
 
Status Append (const T *arithmetic_values, int64_t num_elements)
 
void UnsafeAppend (T arithmetic_value)
 
void UnsafeAppend (const T *arithmetic_values, int64_t num_elements)
 
const T * data () const
 
int64_t length () const
 
- Public Member Functions inherited from arrow::BufferBuilder
 BufferBuilder (MemoryPool *pool)
 
Status Resize (const int64_t elements)
 Resizes the buffer to the nearest multiple of 64 bytes per Layout.md. More...
 
Status Append (const uint8_t *data, int64_t length)
 
template<size_t NBYTES>
Status Append (const std::array< uint8_t, NBYTES > &data)
 
Status Advance (const int64_t length)
 
void UnsafeAppend (const uint8_t *data, int64_t length)
 
Status Finish (std::shared_ptr< Buffer > *out)
 
void Reset ()
 
int64_t capacity () const
 
int64_t length () const
 
const uint8_t * data () const
 

Additional Inherited Members

- Protected Attributes inherited from arrow::BufferBuilder
std::shared_ptr< PoolBufferbuffer_
 
MemoryPoolpool_
 
uint8_t * data_
 
int64_t capacity_
 
int64_t size_
 

Constructor & Destructor Documentation

◆ TypedBufferBuilder()

template<typename T>
arrow::TypedBufferBuilder< T >::TypedBufferBuilder ( MemoryPool pool)
inlineexplicit

Member Function Documentation

◆ Append() [1/2]

template<typename T>
Status arrow::TypedBufferBuilder< T >::Append ( arithmetic_value)
inline

◆ Append() [2/2]

template<typename T>
Status arrow::TypedBufferBuilder< T >::Append ( const T *  arithmetic_values,
int64_t  num_elements 
)
inline

◆ data()

template<typename T>
const T* arrow::TypedBufferBuilder< T >::data ( ) const
inline

◆ length()

template<typename T>
int64_t arrow::TypedBufferBuilder< T >::length ( ) const
inline

◆ UnsafeAppend() [1/2]

template<typename T>
void arrow::TypedBufferBuilder< T >::UnsafeAppend ( arithmetic_value)
inline

◆ UnsafeAppend() [2/2]

template<typename T>
void arrow::TypedBufferBuilder< T >::UnsafeAppend ( const T *  arithmetic_values,
int64_t  num_elements 
)
inline

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