|
Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
The DataType struct to provide enum type for data type and functions to parse data type. More...
#include <types.h>
Public Member Functions | |
| DataType (Type id, const std::string &user_defined_type_name="") | |
| DataType (Type id, const std::shared_ptr< DataType > &child) | |
| DataType (const DataType &other) | |
| DataType (DataType &&other) | |
| DataType & | operator= (const DataType &other)=default |
| bool | Equals (const DataType &other) const |
| bool | Equals (const std::shared_ptr< DataType > &other) const |
| const std::shared_ptr< DataType > & | value_type () const |
| bool | operator== (const DataType &other) const |
| bool | operator!= (const DataType &other) const |
| Type | id () const |
| std::string | ToTypeName () const |
Static Public Member Functions | |
| static std::shared_ptr< arrow::DataType > | DataTypeToArrowDataType (const std::shared_ptr< DataType > &type) |
| static std::shared_ptr< DataType > | ArrowDataTypeToDataType (const std::shared_ptr< arrow::DataType > &type) |
| static std::shared_ptr< DataType > | TypeNameToDataType (const std::string &str) |
The DataType struct to provide enum type for data type and functions to parse data type.
|
inline |