OmniSciDB  04ee39c94c
anonymous_namespace{ArrowImporter.h}::ArrowValue< void * > Struct Template Reference

#include <ArrowImporter.h>

+ Inheritance diagram for anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >:
+ Collaboration diagram for anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >:

Public Types

using VALUE_TYPE = void *
 

Public Member Functions

 ArrowValue (const DataBufferBase &data, const VALUE_TYPE &v)
 
template<typename DATA_TYPE , typename = enable_if_integral<DATA_TYPE>>
 operator const DATA_TYPE () const
 
template<typename DATA_TYPE , typename = enable_if_floating<DATA_TYPE>>
 operator DATA_TYPE () const
 
 operator const std::string () const
 
- Public Member Functions inherited from anonymous_namespace{ArrowImporter.h}::ArrowValueBase< void *>
 ArrowValueBase (const DataBufferBase &data, const void * &v)
 
int64_t resolve_time (const void * &v, std::enable_if_t< enabled > *=0) const
 
int64_t resolve_time (const void * &v, std::enable_if_t<!enabled > *=0) const
 

Additional Inherited Members

- Public Attributes inherited from anonymous_namespace{ArrowImporter.h}::ArrowValueBase< void *>
const DataBufferBasedata
 
const void * v
 
const int32_t dimension
 

Detailed Description

template<>
struct anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >

Definition at line 271 of file ArrowImporter.h.

Member Typedef Documentation

◆ VALUE_TYPE

using anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >::VALUE_TYPE = void*

Definition at line 272 of file ArrowImporter.h.

Constructor & Destructor Documentation

◆ ArrowValue()

anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >::ArrowValue ( const DataBufferBase data,
const VALUE_TYPE v 
)
inline

Definition at line 273 of file ArrowImporter.h.

274  : ArrowValueBase<VALUE_TYPE>(data, v) {}

Member Function Documentation

◆ operator const DATA_TYPE()

template<typename DATA_TYPE , typename = enable_if_integral<DATA_TYPE>>
anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >::operator const DATA_TYPE ( ) const
inlineexplicit

Definition at line 276 of file ArrowImporter.h.

References inline_fixed_encoding_null_val().

276  {
278  }
int64_t inline_fixed_encoding_null_val(const SQL_TYPE_INFO &ti)
SQLTypeInfo columnType
+ Here is the call graph for this function:

◆ operator const std::string()

anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >::operator const std::string ( ) const
inlineexplicit

Definition at line 283 of file ArrowImporter.h.

283 { return std::string(); }

◆ operator DATA_TYPE()

template<typename DATA_TYPE , typename = enable_if_floating<DATA_TYPE>>
anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >::operator DATA_TYPE ( ) const
inlineexplicit

Definition at line 280 of file ArrowImporter.h.

References inline_fp_null_val().

280  {
282  }
double inline_fp_null_val(const SQL_TYPE_INFO &ti)
SQLTypeInfo columnType
+ Here is the call graph for this function:

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