OmniSciDB  95562058bd
 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 457 of file QueryFragmentDescriptor.cpp.

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

457  {
458  os << "table_id(" << fragments_per_table.table_id << ") fragment_ids";
459  for (size_t i = 0; i < fragments_per_table.fragment_ids.size(); ++i) {
460  os << (i ? ' ' : '(') << fragments_per_table.fragment_ids[i];
461  }
462  return os << ')';
463 }