Hyper API for C++  0.0.17231
Hyper client library for C++ applications
hyperapi::Inserter::ColumnMapping Class Referencefinal

Maps an expression to a column
More...

#include <Inserter.hpp>

Public Member Functions

const NamegetColumnName () const noexcept
 Returns the name of the column.
 
optional< std::string > getExpression () const noexcept
 Returns the expression mapped to the column.
 
 ColumnMapping (Name name)
 Creates a column mapping. More...
 
 ColumnMapping (Name name, std::string expression)
 Creates a column mapping. More...
 

Detailed Description

Maps an expression to a column

Examples
insert_data_with_expressions.cpp, and insert_spatial_data_to_a_hyper_file.cpp.

Definition at line 27 of file Inserter.hpp.

Constructor & Destructor Documentation

◆ ColumnMapping() [1/2]

hyperapi::Inserter::ColumnMapping::ColumnMapping ( Name  name)

Creates a column mapping.

Parameters
nameThe name

◆ ColumnMapping() [2/2]

hyperapi::Inserter::ColumnMapping::ColumnMapping ( Name  name,
std::string  expression 
)

Creates a column mapping.

Parameters
nameThe name
expressionThe expression

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