OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
QueryFragmentDescriptor.cpp File Reference
+ Include dependency graph for QueryFragmentDescriptor.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{QueryFragmentDescriptor.cpp}
 

Functions

bool anonymous_namespace{QueryFragmentDescriptor.cpp}::is_sample_query (const RelAlgExecutionUnit &ra_exe_unit)
 
std::ostream & operator<< (std::ostream &os, FragmentsPerTable const &fragments_per_table)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
FragmentsPerTable const fragments_per_table 
)

Definition at line 499 of file QueryFragmentDescriptor.cpp.

References FragmentsPerTable::fragment_ids, i, and FragmentsPerTable::table_id.

499  {
500  os << "table_id(" << fragments_per_table.table_id << ") fragment_ids";
501  for (size_t i = 0; i < fragments_per_table.fragment_ids.size(); ++i) {
502  os << (i ? ' ' : '(') << fragments_per_table.fragment_ids[i];
503  }
504  return os << ')';
505 }