OmniSciDB  5ade3759e0
DistributedValidate Class Reference

Driver for running distributed validation on metadata across cluster. DistributedValidate provides functions for running a validation on system metadata across a cluster, with options to remove broken objects that have been identified. More...

#include <DistributedValidate.h>

+ Collaboration diagram for DistributedValidate:

Public Member Functions

 DistributedValidate (const std::string type, const bool is_repair_type_remove, Catalog_Namespace::Catalog &cat, LeafAggregator &leaf_aggregator, const Catalog_Namespace::SessionInfo session_info, MapDHandler &mapd_handler)
 
std::string validate () const
 Compares Aggregators and Leaves metatdata reporting what is different. More...
 

Private Attributes

Catalog_Namespace::Catalogcat_
 
const std::string type_
 
const bool is_repair_type_remove_
 
LeafAggregatorleaf_aggregator_
 
const Catalog_Namespace::SessionInfo session_info_
 
MapDHandlermapd_handler_
 

Detailed Description

Driver for running distributed validation on metadata across cluster. DistributedValidate provides functions for running a validation on system metadata across a cluster, with options to remove broken objects that have been identified.

Definition at line 33 of file DistributedValidate.h.

Constructor & Destructor Documentation

◆ DistributedValidate()

DistributedValidate::DistributedValidate ( const std::string  type,
const bool  is_repair_type_remove,
Catalog_Namespace::Catalog cat,
LeafAggregator leaf_aggregator,
const Catalog_Namespace::SessionInfo  session_info,
MapDHandler mapd_handler 
)
inline

Definition at line 35 of file DistributedValidate.h.

41  : cat_(cat)
42  , type_(type)
43  , is_repair_type_remove_(is_repair_type_remove)
44  , leaf_aggregator_(leaf_aggregator)
45  , session_info_(session_info)
46  , mapd_handler_(mapd_handler) {}
MapDHandler & mapd_handler_
const bool is_repair_type_remove_
const std::string type_
Catalog_Namespace::Catalog & cat_
const Catalog_Namespace::SessionInfo session_info_
LeafAggregator & leaf_aggregator_

Member Function Documentation

◆ validate()

std::string DistributedValidate::validate ( ) const
inline

Compares Aggregators and Leaves metatdata reporting what is different.

Definition at line 50 of file DistributedValidate.h.

References cat_.

Referenced by MapDHandler::sql_execute_impl().

50 { return nullptr; };
+ Here is the caller graph for this function:

Member Data Documentation

◆ cat_

Catalog_Namespace::Catalog& DistributedValidate::cat_
private

Definition at line 50 of file DistributedValidate.h.

Referenced by validate().

◆ is_repair_type_remove_

const bool DistributedValidate::is_repair_type_remove_
private

Definition at line 55 of file DistributedValidate.h.

◆ leaf_aggregator_

LeafAggregator& DistributedValidate::leaf_aggregator_
private

Definition at line 56 of file DistributedValidate.h.

◆ mapd_handler_

MapDHandler& DistributedValidate::mapd_handler_
private

Definition at line 58 of file DistributedValidate.h.

◆ session_info_

const Catalog_Namespace::SessionInfo DistributedValidate::session_info_
private

Definition at line 57 of file DistributedValidate.h.

◆ type_

const std::string DistributedValidate::type_
private

Definition at line 54 of file DistributedValidate.h.


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