OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 52 of file TargetValueConverters.h.

Constructor & Destructor Documentation

TargetValueConverter::TargetValueConverter ( const ColumnDescriptor cd)
inline

Definition at line 63 of file TargetValueConverters.h.

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

Definition at line 65 of file TargetValueConverters.h.

65 {}

Member Function Documentation

virtual void TargetValueConverter::finalizeDataBlocksForInsertData ( )
inlinevirtual

Member Data Documentation

boost_variant_accessor<ArrayTargetValue> TargetValueConverter::ARRAY_TARGET_VALUE_ACCESSOR

Definition at line 57 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: