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::DateType Class Reference

Base type class for date data. More...

#include <arrow/type.h>

Inheritance diagram for arrow::DateType:
arrow::FixedWidthType arrow::DataType arrow::Date32Type arrow::Date64Type

Public Member Functions

DateUnit 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

 DateType (Type::type type_id, DateUnit unit)

Protected Attributes

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

Detailed Description

Base type class for date data.

Constructor & Destructor Documentation

◆ DateType()

arrow::DateType::DateType ( Type::type  type_id,
DateUnit  unit 

Member Function Documentation

◆ unit()

DateUnit arrow::DateType::unit ( ) const

Member Data Documentation

◆ unit_

DateUnit arrow::DateType::unit_

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