OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{ArrowImporter.h}::DataBufferBase Struct Reference

#include <ArrowImporter.h>

+ Inheritance diagram for anonymous_namespace{ArrowImporter.h}::DataBufferBase:
+ Collaboration diagram for anonymous_namespace{ArrowImporter.h}::DataBufferBase:

Public Member Functions

 DataBufferBase (const ColumnDescriptor *cd, const arrow::Array &array, import_export::BadRowsTracker *const bad_rows_tracker)
 

Public Attributes

const ColumnDescriptorcd
 
const arrow::Array & array
 
import_export::BadRowsTracker
*const 
bad_rows_tracker
 
const arrow::DataType & arrow_type
 
const int arrow_decimal_scale
 
const SQLTypeInfo old_type
 
const SQLTypeInfo new_type
 

Detailed Description

Definition at line 163 of file ArrowImporter.h.

Constructor & Destructor Documentation

anonymous_namespace{ArrowImporter.h}::DataBufferBase::DataBufferBase ( const ColumnDescriptor cd,
const arrow::Array &  array,
import_export::BadRowsTracker *const  bad_rows_tracker 
)
inline

Definition at line 173 of file ArrowImporter.h.

176  : cd(cd)
177  , array(array)
178  , bad_rows_tracker(bad_rows_tracker)
179  , arrow_type(*array.type())
181  arrow_type.id() == arrow::Type::DECIMAL
182  ? static_cast<const arrow::Decimal128Type&>(arrow_type).scale()
183  : 0)
184  , old_type(cd->columnType.get_type(),
185  cd->columnType.get_dimension(),
187  true)
188  , new_type(cd->columnType.get_type(),
189  cd->columnType.get_dimension(),
190  cd->columnType.get_scale(),
191  true) {}
import_export::BadRowsTracker *const bad_rows_tracker
bool g_enable_smem_group_by true

Member Data Documentation

const arrow::Array& anonymous_namespace{ArrowImporter.h}::DataBufferBase::array

Definition at line 165 of file ArrowImporter.h.

const int anonymous_namespace{ArrowImporter.h}::DataBufferBase::arrow_decimal_scale

Definition at line 170 of file ArrowImporter.h.

const arrow::DataType& anonymous_namespace{ArrowImporter.h}::DataBufferBase::arrow_type

Definition at line 169 of file ArrowImporter.h.

import_export::BadRowsTracker* const anonymous_namespace{ArrowImporter.h}::DataBufferBase::bad_rows_tracker
const ColumnDescriptor* anonymous_namespace{ArrowImporter.h}::DataBufferBase::cd
const SQLTypeInfo anonymous_namespace{ArrowImporter.h}::DataBufferBase::new_type

Definition at line 172 of file ArrowImporter.h.

const SQLTypeInfo anonymous_namespace{ArrowImporter.h}::DataBufferBase::old_type

Definition at line 171 of file ArrowImporter.h.


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