OmniSciDB  72180abbfe
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
QueryFragmentDescriptor.h File Reference

Descriptor for the fragments required for a query. More...

#include <deque>
#include <map>
#include <memory>
#include <optional>
#include <ostream>
#include <set>
#include <unordered_map>
#include <vector>
#include "../CompilationOptions.h"
#include "Shared/Logger.h"
+ Include dependency graph for QueryFragmentDescriptor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FragmentsPerTable
 
struct  ExecutionKernel
 
class  QueryFragmentDescriptor
 

Namespaces

 Fragmenter_Namespace
 
 Data_Namespace
 

Typedefs

using FragmentsList = std::vector< FragmentsPerTable >
 
using TableFragments = std::vector< Fragmenter_Namespace::FragmentInfo >
 

Functions

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

Detailed Description

Descriptor for the fragments required for a query.

Author
Alex Baden alex..nosp@m.bade.nosp@m.n@map.nosp@m.d.co.nosp@m.m

Definition in file QueryFragmentDescriptor.h.

Typedef Documentation

using FragmentsList = std::vector<FragmentsPerTable>

Definition at line 55 of file QueryFragmentDescriptor.h.

Definition at line 56 of file QueryFragmentDescriptor.h.

Function Documentation

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

Definition at line 449 of file QueryFragmentDescriptor.cpp.

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

449  {
450  os << "table_id(" << fragments_per_table.table_id << ") fragment_ids";
451  for (size_t i = 0; i < fragments_per_table.fragment_ids.size(); ++i) {
452  os << (i ? ' ' : '(') << fragments_per_table.fragment_ids[i];
453  }
454  return os << ')';
455 }