OmniSciDB  ca0c39ec8f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Types.h File Reference
#include <ostream>
#include <sstream>
+ Include dependency graph for Types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  QueryDescriptionType {
  QueryDescriptionType::GroupByPerfectHash, QueryDescriptionType::GroupByBaselineHash, QueryDescriptionType::Projection, QueryDescriptionType::TableFunction,
  QueryDescriptionType::NonGroupedAggregate, QueryDescriptionType::Estimator
}
 

Functions

std::ostream & operator<< (std::ostream &os, const QueryDescriptionType &type)
 
std::string toString (const QueryDescriptionType &type)
 

Enumeration Type Documentation

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const QueryDescriptionType type 
)
inline

Definition at line 38 of file Types.h.

References Estimator, GroupByBaselineHash, GroupByPerfectHash, NonGroupedAggregate, Projection, and TableFunction.

38  {
39  switch (type) {
41  os << "GroupByPerfectHash";
42  break;
44  os << "GroupByBaselineHash";
45  break;
47  os << "Projection";
48  break;
50  os << "TableFunction";
51  break;
53  os << "NonGroupedAggregate";
54  break;
56  os << "Estimator";
57  break;
58  default:
59  os << "Unknown QueryDescriptionType";
60  }
61  return os;
62 }
std::string toString ( const QueryDescriptionType type)
inline

Definition at line 64 of file Types.h.

References run_benchmark_import::type.

Referenced by anonymous_namespace{SerializeToSql.cpp}::agg_to_string(), WindowFunctionContext::buildAggregationTreeForPartition(), org.apache.calcite.sql.validate.SqlValidatorImpl::checkRollUp(), DBHandler::clear_cpu_memory(), DBHandler::clear_gpu_memory(), DBHandler::clearRenderMemory(), DBHandler::clone_session(), StringDictionaryTranslationMgr::codegen(), CodeGenerator::codegenFunctionOperCastArgs(), CodeGenerator::codegenHoistedConstantsLoads(), CodeGenerator::codegenPerRowStringOper(), WindowFunctionContext::compute(), WindowFunctionContext::computePartitionBuffer(), DBHandler::connect(), DBHandler::connect_impl(), DBHandler::create_custom_expression(), DBHandler::create_dashboard(), DBHandler::create_link(), DBHandler::create_table(), dateTimeParse(), DBHandler::delete_custom_expressions(), DBHandler::delete_dashboards(), DBHandler::detect_column_types(), DBHandler::disconnect(), Parser::CopyTableStmt::execute(), QueryPlanDagExtractor::extractQueryPlanDagImpl(), DBHandler::get_all_files_in_archive(), DBHandler::get_custom_expressions(), DBHandler::get_dashboard(), DBHandler::get_dashboard_grantees(), DBHandler::get_dashboards(), DBHandler::get_databases(), DBHandler::get_device_parameters(), DBHandler::get_first_geo_file_in_archive(), DBHandler::get_hardware_info(), DBHandler::get_internal_table_details(), DBHandler::get_internal_table_details_for_database(), DBHandler::get_layers_in_geo_file(), DBHandler::get_link_view(), anonymous_namespace{TableFunctionCompilationContext.cpp}::get_llvm_type_from_sql_column_type(), DBHandler::get_memory(), get_node_output(), DBHandler::get_physical_tables(), DBHandler::get_result_row_for_pixel(), DBHandler::get_server_status(), DBHandler::get_session_info(), DBHandler::get_status(), DBHandler::get_table_details(), DBHandler::get_table_details_for_database(), DBHandler::get_table_epoch(), DBHandler::get_table_epoch_by_name(), DBHandler::get_table_epochs(), DBHandler::get_tables(), DBHandler::get_tables_for_database(), DBHandler::get_tables_meta(), DBHandler::get_users(), DBHandler::get_views(), DBHandler::getQueries(), QueryPlanDagExtractor::handleLeftDeepJoinTree(), DBHandler::import_table(), DBHandler::import_table_status(), import_export::Importer::importGDALGeo(), import_export::Importer::importGDALRaster(), DBHandler::importGeoTableSingle(), DBHandler::interrupt(), DBHandler::invalidate_cur_session(), DBHandler::load_table(), DBHandler::load_table_binary(), DBHandler::loadTableBinaryColumnarInternal(), org.apache.calcite.rel.rules.OuterJoinOptViaNullRejectionRule::onMatch(), operator<<(), anonymous_namespace{Datum.cpp}::parseInteger(), com.mapd.parser.server.CalciteServerHandler::process(), ra_exec_unit_desc_for_caching(), ResultSetStorage::reduceOneSlot(), DBHandler::register_runtime_extension_functions(), org.apache.calcite.sql.validate.SqlValidatorImpl::registerFrom(), QueryPlanDagExtractor::registerNodeToDagCache(), DBHandler::render_vega(), DBHandler::replace_dashboard(), DBHandler::set_cur_session(), DBHandler::set_execution_mode(), DBHandler::set_table_epoch(), DBHandler::set_table_epoch_by_name(), DBHandler::set_table_epochs(), DBHandler::shareOrUnshareDashboards(), DBHandler::sql_execute(), DBHandler::sql_validate(), spatial_type::suffix(), DBHandler::switch_database(), com.mapd.calcite.parser.HeavyDBParser::tableAliasFinder(), toString(), Analyzer::WindowFrame::toString(), toStringImpl(), RelAlgTranslator::translateWindowFunction(), tree_string(), DBHandler::update_custom_expression(), Executor::update_extension_modules(), org.apache.calcite.sql.validate.SqlValidatorImpl::validateAccess(), and ScalarExprToSql::visitWindowFunction().

64  {
65  std::ostringstream ss;
66  ss << type;
67  return ss.str();
68 }