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

#include <arrow/type.h>

Inheritance diagram for arrow::FixedSizeBinaryType:
arrow::FixedWidthType arrow::ParametricType arrow::DataType arrow::DecimalType

Public Member Functions

 FixedSizeBinaryType (int32_t byte_width)
 
 FixedSizeBinaryType (int32_t byte_width, Type::type type_id)
 
Status Accept (TypeVisitor *visitor) const override
 
std::string ToString () const override
 A string representation of the type, including any children. More...
 
std::string name () const override
 A string name of the type, omitting any child fields. More...
 
std::vector< BufferDescrGetBufferLayout () const override
 
int32_t byte_width () const
 
int bit_width () const override
 
- Public Member Functions inherited from arrow::DataType
 DataType (Type::type id)
 
virtual ~DataType ()
 
virtual bool Equals (const DataType &other) const
 
bool Equals (const std::shared_ptr< DataType > &other) const
 
std::shared_ptr< Fieldchild (int i) const
 
const std::vector< std::shared_ptr< Field > > & children () const
 
int num_children () const
 
Type::type id () const
 

Static Public Attributes

static constexpr Type::type type_id = Type::FIXED_SIZE_BINARY
 

Protected Attributes

int32_t byte_width_
 
- Protected Attributes inherited from arrow::DataType
Type::type id_
 
std::vector< std::shared_ptr< Field > > children_
 

Constructor & Destructor Documentation

◆ FixedSizeBinaryType() [1/2]

arrow::FixedSizeBinaryType::FixedSizeBinaryType ( int32_t  byte_width)
inlineexplicit

◆ FixedSizeBinaryType() [2/2]

arrow::FixedSizeBinaryType::FixedSizeBinaryType ( int32_t  byte_width,
Type::type  type_id 
)
inlineexplicit

Member Function Documentation

◆ Accept()

Status arrow::FixedSizeBinaryType::Accept ( TypeVisitor visitor) const
overridevirtual

Implements arrow::DataType.

Reimplemented in arrow::DecimalType.

◆ bit_width()

int arrow::FixedSizeBinaryType::bit_width ( ) const
overridevirtual

Implements arrow::FixedWidthType.

◆ byte_width()

int32_t arrow::FixedSizeBinaryType::byte_width ( ) const
inline

◆ GetBufferLayout()

std::vector<BufferDescr> arrow::FixedSizeBinaryType::GetBufferLayout ( ) const
overridevirtual

Reimplemented from arrow::FixedWidthType.

◆ name()

std::string arrow::FixedSizeBinaryType::name ( ) const
inlineoverridevirtual

A string name of the type, omitting any child fields.

Note
Experimental API
Since
0.7.0

Implements arrow::DataType.

Reimplemented in arrow::DecimalType.

◆ ToString()

std::string arrow::FixedSizeBinaryType::ToString ( ) const
overridevirtual

A string representation of the type, including any children.

Implements arrow::DataType.

Reimplemented in arrow::DecimalType.

Member Data Documentation

◆ byte_width_

int32_t arrow::FixedSizeBinaryType::byte_width_
protected

◆ type_id

constexpr Type::type arrow::FixedSizeBinaryType::type_id = Type::FIXED_SIZE_BINARY
static

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