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

Base type class for time data. More...

#include <arrow/type.h>

Inheritance diagram for arrow::TimeType:
arrow::FixedWidthType arrow::ParametricType arrow::DataType arrow::Time32Type arrow::Time64Type

Public Member Functions

TimeUnit::type unit () const
- Public Member Functions inherited from arrow::FixedWidthType
virtual int bit_width () const =0
 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
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

Protected Member Functions

 TimeType (Type::type type_id, TimeUnit::type unit)

Protected Attributes

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

Detailed Description

Base type class for time data.

Constructor & Destructor Documentation

◆ TimeType()

arrow::TimeType::TimeType ( Type::type  type_id,
TimeUnit::type  unit 

Member Function Documentation

◆ unit()

TimeUnit::type arrow::TimeType::unit ( ) const

Member Data Documentation

◆ unit_

TimeUnit::type arrow::TimeType::unit_

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