OmniSciDB  06b3bd477c
 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 461 of file QueryFragmentDescriptor.cpp.

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

461  {
462  os << "table_id(" << fragments_per_table.table_id << ") fragment_ids";
463  for (size_t i = 0; i < fragments_per_table.fragment_ids.size(); ++i) {
464  os << (i ? ' ' : '(') << fragments_per_table.fragment_ids[i];
465  }
466  return os << ')';
467 }