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

#include <arrow/type.h>

Inheritance diagram for arrow::FloatingPoint:
arrow::Number arrow::PrimitiveCType arrow::FixedWidthType arrow::DataType arrow::DoubleType arrow::FloatType arrow::HalfFloatType

Public Types

enum  Precision { HALF, SINGLE, DOUBLE }
 

Public Member Functions

virtual Precision precision () const =0
 
- Public Member Functions inherited from arrow::FixedWidthType
virtual int bit_width () const =0
 
std::vector< BufferDescrGetBufferLayout () 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
 
virtual Status Accept (TypeVisitor *visitor) const =0
 
virtual std::string ToString () const =0
 A string representation of the type, including any children. More...
 
virtual std::string name () const =0
 A string name of the type, omitting any child fields. More...
 
Type::type id () const
 

Additional Inherited Members

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

Member Enumeration Documentation

◆ Precision

Enumerator
HALF 
SINGLE 
DOUBLE 

Member Function Documentation

◆ precision()

virtual Precision arrow::FloatingPoint::precision ( ) const
pure virtual

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