OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Importer_NS::ImportStatus Struct Reference

#include <Importer.h>

Public Member Functions

 ImportStatus ()
 
ImportStatusoperator+= (const ImportStatus &is)
 

Public Attributes

std::chrono::steady_clock::time_point start
 
std::chrono::steady_clock::time_point end
 
size_t rows_completed
 
size_t rows_estimated
 
size_t rows_rejected
 
std::chrono::duration< size_t,
std::milli > 
elapsed
 
bool load_truncated
 
int thread_id
 

Detailed Description

Definition at line 609 of file Importer.h.

Constructor & Destructor Documentation

Importer_NS::ImportStatus::ImportStatus ( )
inline

Definition at line 618 of file Importer.h.

619  : start(std::chrono::steady_clock::now())
620  , rows_completed(0)
621  , rows_estimated(0)
622  , rows_rejected(0)
623  , elapsed(0)
624  , load_truncated(0)
625  , thread_id(0) {}
std::chrono::steady_clock::time_point start
Definition: Importer.h:610
std::chrono::duration< size_t, std::milli > elapsed
Definition: Importer.h:615

Member Function Documentation

ImportStatus& Importer_NS::ImportStatus::operator+= ( const ImportStatus is)
inline

Definition at line 627 of file Importer.h.

References rows_completed, and rows_rejected.

627  {
628  rows_completed += is.rows_completed;
629  rows_rejected += is.rows_rejected;
630 
631  return *this;
632  }

Member Data Documentation

std::chrono::duration<size_t, std::milli> Importer_NS::ImportStatus::elapsed

Definition at line 615 of file Importer.h.

Referenced by Importer_NS::Importer::set_import_status().

std::chrono::steady_clock::time_point Importer_NS::ImportStatus::end

Definition at line 611 of file Importer.h.

Referenced by Importer_NS::Importer::set_import_status().

size_t Importer_NS::ImportStatus::rows_estimated
size_t Importer_NS::ImportStatus::rows_rejected
std::chrono::steady_clock::time_point Importer_NS::ImportStatus::start

Definition at line 610 of file Importer.h.

Referenced by Importer_NS::Importer::set_import_status().

int Importer_NS::ImportStatus::thread_id

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