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

#include <arrow/type.h>

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

Public Member Functions

 DecimalType (int32_t byte_width, int32_t precision, int32_t scale)
int32_t precision () const
int32_t scale () const
- Public Member Functions inherited from arrow::FixedSizeBinaryType
 FixedSizeBinaryType (int32_t byte_width)
 FixedSizeBinaryType (int32_t byte_width, Type::type override_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...
int32_t byte_width () const
int bit_width () const override
- Public Member Functions inherited from arrow::FixedWidthType
 DataType (Type::type id)
- 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

Protected Attributes

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

Additional Inherited Members

- Static Public Attributes inherited from arrow::FixedSizeBinaryType
static constexpr Type::type type_id = Type::FIXED_SIZE_BINARY

Constructor & Destructor Documentation

◆ DecimalType()

arrow::DecimalType::DecimalType ( int32_t  byte_width,
int32_t  precision,
int32_t  scale 

Member Function Documentation

◆ precision()

int32_t arrow::DecimalType::precision ( ) const

◆ scale()

int32_t arrow::DecimalType::scale ( ) const

Member Data Documentation

◆ precision_

int32_t arrow::DecimalType::precision_

◆ scale_

int32_t arrow::DecimalType::scale_

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