OmniSciDB
a5dc49c757
|
Classes | |
struct | is_catalog_rel_alg_node |
struct | is_modify_target_rel_alg_node |
Functions | |
template<class Archive > | |
void | serialize (Archive &ar, RegisteredQueryHint &query_hint, const unsigned int version) |
template<class Archive > | |
void | serialize (Archive &ar, ExplainedQueryHint &query_hint, const unsigned int version) |
template<class Archive > | |
void | save (Archive &ar, const ExplainedQueryHint &query_hint, const unsigned int version) |
template<class Archive > | |
void | load (Archive &ar, ExplainedQueryHint &query_hint, const unsigned int version) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const ExplainedQueryHint *query_hint, const unsigned int version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, ExplainedQueryHint *query_hint, const unsigned int version) |
template<class RelAlgType , typename std::enable_if_t< all_serializable_rel_alg_classes_v< RelAlgType >> * = nullptr> | |
void | serialize (boost::archive::text_iarchive &ar, RelAlgType &obj, const unsigned int version) |
template<class RelAlgType , typename std::enable_if_t< all_serializable_rel_alg_classes_v< RelAlgType >> * = nullptr> | |
void | serialize (boost::archive::text_oarchive &ar, RelAlgType &obj, const unsigned int version) |
template<class Archive > | |
void | serialize (Archive &ar, boost::blank &blank, const unsigned int version) |
template<class RelAlgNodeType , typename std::enable_if_t< is_catalog_rel_alg_node_v< RelAlgNodeType >> * = nullptr> | |
void | save_construct_data (boost::archive::text_oarchive &ar, const RelAlgNodeType *node, const unsigned int version) |
template<class RelAlgNodeType > | |
void | construct_catalog_rel_alg_node (RelAlgNodeType *node, const Catalog_Namespace::Catalog *cat, const TableDescriptor *td) |
void | construct_catalog_rel_alg_node (RelModify *node, const Catalog_Namespace::Catalog &cat, const TableDescriptor *td) |
void | construct_catalog_rel_alg_node (RelScan *node, const Catalog_Namespace::Catalog &cat, const TableDescriptor *td) |
template<class RelAlgNodeType , typename std::enable_if_t< is_catalog_rel_alg_node< RelAlgNodeType >::value > * = nullptr> | |
void | load_construct_data (boost::archive::text_iarchive &ar, RelAlgNodeType *node, const unsigned int version) |
template<class Archive > | |
void | serialize (Archive &ar, RexWindowFunctionOperator::RexWindowBound &window_bound, const unsigned int version) |
template<class Archive > | |
void | serialize (Archive &, SortField &, const unsigned int) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const SortField *sort_field, const unsigned int version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, SortField *sort_field, const unsigned int version) |
template<class Archive > | |
void | serialize (Archive &ar, SQLTypeInfo &type_info, const unsigned int version) |
template<class Archive > | |
void | save (Archive &ar, const SQLTypeInfo &type_info, const unsigned int version) |
template<class Archive > | |
void | load (Archive &ar, SQLTypeInfo &type_info, const unsigned int version) |
template<class Archive , class T > | |
void | serialize (Archive &ar, std::optional< T > &in_opt, const unsigned int version) |
template<class Archive > | |
void | serialize (Archive &, TargetMetaInfo &, const unsigned int) |
template<class Archive > | |
void | save_construct_data (Archive &ar, const TargetMetaInfo *target_meta, const unsigned int version) |
template<class Archive > | |
void | load_construct_data (Archive &ar, TargetMetaInfo *target_meta, const unsigned int version) |
Variables | |
template<class T > | |
constexpr bool | is_catalog_rel_alg_node_v = is_catalog_rel_alg_node<T>::value |
template<class T > | |
constexpr bool | is_modify_target_rel_alg_node_v |
|
inline |
Construction templates for TableDescriptor dependent classes
Definition at line 467 of file RelAlgDagSerializer.h.
Referenced by load_construct_data().
|
inline |
RelModify construction specialization, which requires a catalog reference
Definition at line 476 of file RelAlgDagSerializer.h.
|
inline |
RelScan construction specialization, which requires a catalog reference
Definition at line 485 of file RelAlgDagSerializer.h.
void boost::serialization::load | ( | Archive & | ar, |
SQLTypeInfo & | type_info, | ||
const unsigned int | version | ||
) |
Definition at line 52 of file SQLTypeInfoSerializer.h.
References SQLTypeInfo::set_comp_param(), SQLTypeInfo::set_compression(), SQLTypeInfo::set_dict_intersection(), SQLTypeInfo::set_dimension(), SQLTypeInfo::set_notnull(), SQLTypeInfo::set_scale(), SQLTypeInfo::set_size(), SQLTypeInfo::set_subtype(), SQLTypeInfo::set_type(), and run_benchmark_import::type.
void boost::serialization::load | ( | Archive & | ar, |
ExplainedQueryHint & | query_hint, | ||
const unsigned int | version | ||
) |
Definition at line 73 of file QueryHintSerializer.h.
References ExplainedQueryHint::setInheritPaths(), ExplainedQueryHint::setKVOptions(), and ExplainedQueryHint::setListOptions().
Referenced by load_module(), ReductionInterpreterImpl::runLoad(), tf_test_torch_load_model(), and anonymous_namespace{ResultSetReductionCodegen.cpp}::translate_body().
|
inline |
Definition at line 44 of file SortFieldSerializer.h.
References field().
|
inline |
Definition at line 45 of file TargetMetaInfoSerializer.h.
|
inline |
Definition at line 96 of file QueryHintSerializer.h.
|
inline |
Loads constructor data and instantiates TableDescriptor-dependent classes by loading the table name and accessing its table descriptor from a thread-local catalog reference.
NOTE: for proper overload resolution of boost::serialization::load_construct_data while maintaining templatization on RelAlgNode type, this function is specialized on the Archive type, in this case boost::archive::text_iarchive. This would break if other archives are used.
Definition at line 504 of file RelAlgDagSerializer.h.
References cat(), CHECK, construct_catalog_rel_alg_node(), Catalog_Namespace::SysCatalog::getCatalog(), and Catalog_Namespace::SysCatalog::instance().
void boost::serialization::save | ( | Archive & | ar, |
const SQLTypeInfo & | type_info, | ||
const unsigned int | version | ||
) |
Definition at line 39 of file SQLTypeInfoSerializer.h.
References SQLTypeInfo::get_comp_param(), SQLTypeInfo::get_compression(), SQLTypeInfo::get_dimension(), SQLTypeInfo::get_notnull(), SQLTypeInfo::get_scale(), SQLTypeInfo::get_size(), SQLTypeInfo::get_subtype(), SQLTypeInfo::get_type(), and SQLTypeInfo::is_dict_intersection().
void boost::serialization::save | ( | Archive & | ar, |
const ExplainedQueryHint & | query_hint, | ||
const unsigned int | version | ||
) |
Definition at line 66 of file QueryHintSerializer.h.
References ExplainedQueryHint::getInteritPath(), ExplainedQueryHint::getKVOptions(), and ExplainedQueryHint::getListOptions().
Referenced by tf_test_torch_regression().
|
inline |
Definition at line 35 of file SortFieldSerializer.h.
References SortField::getField(), SortField::getNullsPosition(), and SortField::getSortDir().
|
inline |
Definition at line 36 of file TargetMetaInfoSerializer.h.
References TargetMetaInfo::get_physical_type_info(), TargetMetaInfo::get_resname(), and TargetMetaInfo::get_type_info().
|
inline |
Definition at line 86 of file QueryHintSerializer.h.
References ExplainedQueryHint::getHint(), ExplainedQueryHint::hasKvOptions(), ExplainedQueryHint::hasOptions(), and ExplainedQueryHint::isGlobalHint().
|
inline |
Saves constructor data for TableDescriptor-dependent classes by saving out the table descriptor name. The table name seems like the best choice for a synchonization-independent descriptor. It was not immediately obvious whether the table id is the same across all nodes in a distributed cluster, for instance.
NOTE: for proper overload resolution of boost::serialization::save_construct_data while maintaining templatization on RelAlgNode type, this function is specialized on the Archive type, in this case boost::archive::text_oarchive. If other archive types are to be used, then they would need to have specializations added here.
Definition at line 433 of file RelAlgDagSerializer.h.
References CHECK, and Catalog_Namespace::Catalog::name().
void boost::serialization::serialize | ( | Archive & | , |
SortField & | , | ||
const unsigned | int | ||
) |
Definition at line 25 of file SortFieldSerializer.h.
void boost::serialization::serialize | ( | Archive & | , |
TargetMetaInfo & | , | ||
const unsigned | int | ||
) |
Definition at line 26 of file TargetMetaInfoSerializer.h.
void boost::serialization::serialize | ( | Archive & | ar, |
RegisteredQueryHint & | query_hint, | ||
const unsigned int | version | ||
) |
Definition at line 27 of file QueryHintSerializer.h.
References RegisteredQueryHint::aggregate_tree_fanout, RegisteredQueryHint::bbox_intersect_allow_gpu_build, RegisteredQueryHint::bbox_intersect_bucket_threshold, RegisteredQueryHint::bbox_intersect_keys_per_bin, RegisteredQueryHint::bbox_intersect_max_size, RegisteredQueryHint::bbox_intersect_no_cache, RegisteredQueryHint::columnar_output, RegisteredQueryHint::cpu_mode, RegisteredQueryHint::cuda_block_size, RegisteredQueryHint::cuda_grid_size_multiplier, RegisteredQueryHint::dynamic_watchdog, RegisteredQueryHint::force_baseline_hash_join, RegisteredQueryHint::force_one_to_many_hash_join, RegisteredQueryHint::keep_result, RegisteredQueryHint::keep_table_function_result, RegisteredQueryHint::loop_join_inner_table_max_num_rows, RegisteredQueryHint::max_join_hash_table_size, RegisteredQueryHint::ndv_groups_estimator_multiplier, RegisteredQueryHint::opt_cuda_grid_and_block_size, RegisteredQueryHint::preflight_count_query_threshold, RegisteredQueryHint::query_time_limit, RegisteredQueryHint::registered_hint, RegisteredQueryHint::rowwise_output, RegisteredQueryHint::table_reordering_off, RegisteredQueryHint::use_loop_join, RegisteredQueryHint::watchdog, and RegisteredQueryHint::watchdog_max_projected_rows_per_device.
Referenced by BOOST_CLASS_TRACKING(), and anonymous_namespace{ResultSetIteration.cpp}::GeoTargetValueBuilder< GEO_SOURCE_TYPE, GeoTargetFetcher >::build().
void boost::serialization::serialize | ( | Archive & | ar, |
RexWindowFunctionOperator::RexWindowBound & | window_bound, | ||
const unsigned int | version | ||
) |
Definition at line 27 of file RexWindowBoundSerializer.h.
References RexWindowFunctionOperator::RexWindowBound::bound_expr, RexWindowFunctionOperator::RexWindowBound::following, RexWindowFunctionOperator::RexWindowBound::is_current_row, RexWindowFunctionOperator::RexWindowBound::order_key, RexWindowFunctionOperator::RexWindowBound::preceding, and RexWindowFunctionOperator::RexWindowBound::unbounded.
void boost::serialization::serialize | ( | Archive & | ar, |
SQLTypeInfo & | type_info, | ||
const unsigned int | version | ||
) |
Definition at line 31 of file SQLTypeInfoSerializer.h.
void boost::serialization::serialize | ( | Archive & | ar, |
ExplainedQueryHint & | query_hint, | ||
const unsigned int | version | ||
) |
Definition at line 58 of file QueryHintSerializer.h.
void boost::serialization::serialize | ( | Archive & | ar, |
std::optional< T > & | in_opt, | ||
const unsigned int | version | ||
) |
boost surprisingly does not have native support for serializing std::optional values from STL. This is a workaround for that by converting a std::optional to a boost::optional for serialization. There is a compilation issue with using the standard boost::serialization::split_free to handle different pathways for load/store of a std::optional. This compilation issue requires a workaround. The commented out code below is what would be used if the split_free route compiles, so keeping it around in case one day it does work as it would be preferred. More on the compilation issue in comments below.
Definition at line 68 of file StdOptionalSerializer.h.
void boost::serialization::serialize | ( | boost::archive::text_iarchive & | ar, |
RelAlgType & | obj, | ||
const unsigned int | version | ||
) |
boost::serialization::serialize overload for all RelAlgDag-related classes that require serialization.
NOTE: for proper overload resolution of boost::serialization::serialize while maintaining templatization on the RelAlgDag-related class type, this function is specialized on the Archive type. If other archive types are to be used, they need to be specialized here.
Definition at line 370 of file RelAlgDagSerializer.h.
References RelAlgDagSerializer::serialize().
void boost::serialization::serialize | ( | boost::archive::text_oarchive & | ar, |
RelAlgType & | obj, | ||
const unsigned int | version | ||
) |
Definition at line 379 of file RelAlgDagSerializer.h.
References RelAlgDagSerializer::serialize().
void boost::serialization::serialize | ( | Archive & | ar, |
boost::blank & | blank, | ||
const unsigned int | version | ||
) |
Needed for boost::variant with a boost::blank item.
Definition at line 389 of file RelAlgDagSerializer.h.
|
inline |
Definition at line 409 of file RelAlgDagSerializer.h.
|
inline |
Definition at line 417 of file RelAlgDagSerializer.h.