OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
< ScalarTargetValue
SCALAR_TARGET_VALUE_ACCESSOR
 
boost_variant_accessor
< ArrayTargetValue
ARRAY_TARGET_VALUE_ACCESSOR
 
boost_variant_accessor
< GeoTargetValue
GEO_TARGET_VALUE_ACCESSOR
 
boost_variant_accessor
< NullableString
NULLABLE_STRING_ACCESSOR
 
boost_variant_accessor
< std::string > 
STRING_ACCESSOR
 

Detailed Description

Definition at line 51 of file TargetValueConverters.h.

Constructor & Destructor Documentation

TargetValueConverter::TargetValueConverter ( const ColumnDescriptor cd)
inline

Definition at line 62 of file TargetValueConverters.h.

62 : column_descriptor_(cd){};
const ColumnDescriptor * column_descriptor_
virtual TargetValueConverter::~TargetValueConverter ( )
inlinevirtual

Definition at line 64 of file TargetValueConverters.h.

64 {}

Member Function Documentation

virtual void TargetValueConverter::finalizeDataBlocksForInsertData ( )
inlinevirtual

Member Data Documentation

boost_variant_accessor<ArrayTargetValue> TargetValueConverter::ARRAY_TARGET_VALUE_ACCESSOR

Definition at line 56 of file TargetValueConverters.h.

boost_variant_accessor<NullableString> TargetValueConverter::NULLABLE_STRING_ACCESSOR
boost_variant_accessor<std::string> TargetValueConverter::STRING_ACCESSOR

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