OmniSciDB  06b3bd477c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JoinColumnTuple Struct Reference

#include <JoinColumnIterator.h>

+ Collaboration diagram for JoinColumnTuple:

Classes

struct  Slice
 

Public Member Functions

DEVICE JoinColumnTuple ()
 
DEVICE JoinColumnTuple (size_t num_cols, const JoinColumn *join_column_per_key, const JoinColumnTypeInfo *type_info_per_key)
 
DEVICE JoinColumnTupleIterator begin ()
 
DEVICE JoinColumnTupleIterator end ()
 
DEVICE Slice slice (size_t start, size_t step)
 

Public Attributes

size_t num_cols
 
const JoinColumnjoin_column_per_key
 
const JoinColumnTypeInfotype_info_per_key
 

Detailed Description

Helper class for viewing multiple JoinColumns and their matching JoinColumnTypeInfos as a single object.

Definition at line 203 of file JoinColumnIterator.h.

Constructor & Destructor Documentation

DEVICE JoinColumnTuple::JoinColumnTuple ( )
inline

Definition at line 208 of file JoinColumnIterator.h.

209  : num_cols(0), join_column_per_key(nullptr), type_info_per_key(nullptr) {}
const JoinColumnTypeInfo * type_info_per_key
const JoinColumn * join_column_per_key
DEVICE JoinColumnTuple::JoinColumnTuple ( size_t  num_cols,
const JoinColumn join_column_per_key,
const JoinColumnTypeInfo type_info_per_key 
)
inline

Definition at line 211 of file JoinColumnIterator.h.

214  : num_cols(num_cols)
215  , join_column_per_key(join_column_per_key)
216  , type_info_per_key(type_info_per_key) {}
const JoinColumnTypeInfo * type_info_per_key
const JoinColumn * join_column_per_key

Member Function Documentation

DEVICE JoinColumnTupleIterator JoinColumnTuple::begin ( )
inline

Definition at line 218 of file JoinColumnIterator.h.

References join_column_per_key, num_cols, and type_info_per_key.

218  {
221  }
Iterates over the rows of a JoinColumnTuple across multiple fragments/chunks.
const JoinColumnTypeInfo * type_info_per_key
const JoinColumn * join_column_per_key
DEVICE JoinColumnTupleIterator JoinColumnTuple::end ( )
inline

Definition at line 223 of file JoinColumnIterator.h.

223 { return JoinColumnTupleIterator(); }
Iterates over the rows of a JoinColumnTuple across multiple fragments/chunks.
DEVICE Slice JoinColumnTuple::slice ( size_t  start,
size_t  step 
)
inline

Definition at line 242 of file JoinColumnIterator.h.

242 { return Slice{this, start, step}; }

Member Data Documentation

const JoinColumn* JoinColumnTuple::join_column_per_key

Definition at line 205 of file JoinColumnIterator.h.

Referenced by begin(), and JoinColumnTuple::Slice::begin().

size_t JoinColumnTuple::num_cols

Definition at line 204 of file JoinColumnIterator.h.

Referenced by begin(), and JoinColumnTuple::Slice::begin().

const JoinColumnTypeInfo* JoinColumnTuple::type_info_per_key

Definition at line 206 of file JoinColumnIterator.h.

Referenced by begin(), and JoinColumnTuple::Slice::begin().


The documentation for this struct was generated from the following file: