OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExecutionResultSerializer.h File Reference
#include "QueryEngine/RelAlgDag.h"
#include <boost/serialization/tracking.hpp>
+ Include dependency graph for ExecutionResultSerializer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 BOOST_CLASS_TRACKING (RexSubQuery::ExecutionResultShPtr, boost::serialization::track_selectively) namespace boost
 

Function Documentation

BOOST_CLASS_TRACKING ( RexSubQuery::ExecutionResultShPtr  ,
boost::serialization::track_selectively   
)

Definition at line 28 of file ExecutionResultSerializer.h.

References CHECK, run_benchmark_import::result, boost::serialization::serialize(), and setup::version.

31  {
32 namespace serialization {
33 
34 template <class Archive>
35 void serialize(Archive& ar,
37  const unsigned int version) {
38  // Noop - this should do nothing. Results should never be serialized. Serialization
39  // should happen before RelAlgExecutor gets its hands on the dag.
40  // This serialize method is only used to avoid compilation errors.
41  CHECK(result == nullptr);
42 }
43 
44 } // namespace serialization
45 } // namespace boost
string version
Definition: setup.in.py:73
void serialize(Archive &ar, RegisteredQueryHint &query_hint, const unsigned int version)
#define CHECK(condition)
Definition: Logger.h:291
std::shared_ptr< const ExecutionResult > ExecutionResultShPtr
Definition: RelAlgDag.h:965

+ Here is the call graph for this function: