OmniSciDB  c07336695a
TargetValueConverter Struct Referenceabstract

#include <TargetValueConverters.h>

+ Inheritance diagram for TargetValueConverter:
+ Collaboration diagram for TargetValueConverter:

Public Member Functions

 TargetValueConverter (const ColumnDescriptor *cd)
 
virtual ~TargetValueConverter ()
 
virtual void allocateColumnarData (size_t num_rows)=0
 
virtual void convertToColumnarFormat (size_t row, const TargetValue *value)=0
 
virtual void finalizeDataBlocksForInsertData ()
 
virtual void addDataBlocksToInsertData (Fragmenter_Namespace::InsertData &insertData)=0
 

Public Attributes

const ColumnDescriptorcolumn_descriptor_
 
boost_variant_accessor< ScalarTargetValueSCALAR_TARGET_VALUE_ACCESSOR
 
boost_variant_accessor< ArrayTargetValueARRAY_TARGET_VALUE_ACCESSOR
 
boost_variant_accessor< GeoTargetValueGEO_TARGET_VALUE_ACCESSOR
 
boost_variant_accessor< NullableStringNULLABLE_STRING_ACCESSOR
 
boost_variant_accessor< std::string > STRING_ACCESSOR
 

Detailed Description

Definition at line 52 of file TargetValueConverters.h.

Constructor & Destructor Documentation

◆ TargetValueConverter()

TargetValueConverter::TargetValueConverter ( const ColumnDescriptor cd)
inline

Definition at line 63 of file TargetValueConverters.h.

63 : column_descriptor_(cd){};
const ColumnDescriptor * column_descriptor_

◆ ~TargetValueConverter()

virtual TargetValueConverter::~TargetValueConverter ( )
inlinevirtual

Definition at line 65 of file TargetValueConverters.h.

References num_rows.

65 {}

Member Function Documentation

◆ addDataBlocksToInsertData()

◆ allocateColumnarData()

◆ convertToColumnarFormat()

◆ finalizeDataBlocksForInsertData()

virtual void TargetValueConverter::finalizeDataBlocksForInsertData ( )
inlinevirtual

Member Data Documentation

◆ ARRAY_TARGET_VALUE_ACCESSOR

boost_variant_accessor<ArrayTargetValue> TargetValueConverter::ARRAY_TARGET_VALUE_ACCESSOR

Definition at line 57 of file TargetValueConverters.h.

◆ column_descriptor_

const ColumnDescriptor* TargetValueConverter::column_descriptor_

Definition at line 54 of file TargetValueConverters.h.

◆ GEO_TARGET_VALUE_ACCESSOR

boost_variant_accessor<GeoTargetValue> TargetValueConverter::GEO_TARGET_VALUE_ACCESSOR

Definition at line 58 of file TargetValueConverters.h.

◆ NULLABLE_STRING_ACCESSOR

boost_variant_accessor<NullableString> TargetValueConverter::NULLABLE_STRING_ACCESSOR

Definition at line 60 of file TargetValueConverters.h.

◆ SCALAR_TARGET_VALUE_ACCESSOR

boost_variant_accessor<ScalarTargetValue> TargetValueConverter::SCALAR_TARGET_VALUE_ACCESSOR

Definition at line 56 of file TargetValueConverters.h.

◆ STRING_ACCESSOR

boost_variant_accessor<std::string> TargetValueConverter::STRING_ACCESSOR

Definition at line 61 of file TargetValueConverters.h.


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