OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
foreign_storage::TypedParquetDetectBuffer::DataTypeToStringConverter< T > Class Template Reference
+ Inheritance diagram for foreign_storage::TypedParquetDetectBuffer::DataTypeToStringConverter< T >:
+ Collaboration diagram for foreign_storage::TypedParquetDetectBuffer::DataTypeToStringConverter< T >:

Public Member Functions

strings reserve (num_elements)
 
 for (size_t i=0;i< num_elements;++i)
 
- Public Member Functions inherited from foreign_storage::TypedParquetDetectBuffer::AbstractDataTypeToStringConverter
virtual ~AbstractDataTypeToStringConverter ()=default
 
virtual std::vector< std::string > convert (const int8_t *bytes, const size_t num_bytes)=0
 

Public Attributes

 __pad0__: element_to_string_(element_to_string) {} std::vector<std::string> convert(const int8_t* bytes
 
const size_t num_bytes override
 
const size_t num_elements = num_bytes / sizeof(T)
 
const auto elements = reinterpret_cast<const T*>(bytes)
 
std::vector< std::string > strings
 
return strings
 

Private Attributes

std::function< std::string(const
T &)> 
element_to_string_
 

Detailed Description

template<typename T>
class foreign_storage::TypedParquetDetectBuffer::DataTypeToStringConverter< T >

Definition at line 76 of file TypedParquetDetectBuffer.h.

Member Function Documentation

Member Data Documentation

Definition at line 81 of file TypedParquetDetectBuffer.h.

template<typename T >
std::function<std::string(const T&)> foreign_storage::TypedParquetDetectBuffer::DataTypeToStringConverter< T >::element_to_string_
private
template<typename T >
const auto foreign_storage::TypedParquetDetectBuffer::DataTypeToStringConverter< T >::elements = reinterpret_cast<const T*>(bytes)
template<typename T >
const size_t foreign_storage::TypedParquetDetectBuffer::DataTypeToStringConverter< T >::num_elements = num_bytes / sizeof(T)

Definition at line 84 of file TypedParquetDetectBuffer.h.

template<typename T >
const size_t num_bytes foreign_storage::TypedParquetDetectBuffer::DataTypeToStringConverter< T >::override
Initial value:
{
CHECK(num_bytes % sizeof(T) == 0)

Definition at line 82 of file TypedParquetDetectBuffer.h.

template<typename T >
std::vector<std::string> foreign_storage::TypedParquetDetectBuffer::DataTypeToStringConverter< T >::strings

Definition at line 86 of file TypedParquetDetectBuffer.h.

Definition at line 91 of file TypedParquetDetectBuffer.h.


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