OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 214 of file JoinColumnIterator.h.

Constructor & Destructor Documentation

DEVICE JoinColumnTuple::JoinColumnTuple ( )
inline

Definition at line 219 of file JoinColumnIterator.h.

220  : 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 222 of file JoinColumnIterator.h.

225  : num_cols(num_cols)
226  , join_column_per_key(join_column_per_key)
227  , 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 229 of file JoinColumnIterator.h.

References join_column_per_key, num_cols, and type_info_per_key.

229  {
232  }
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 234 of file JoinColumnIterator.h.

234 { 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 253 of file JoinColumnIterator.h.

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

Member Data Documentation

const JoinColumn* JoinColumnTuple::join_column_per_key

Definition at line 216 of file JoinColumnIterator.h.

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

size_t JoinColumnTuple::num_cols

Definition at line 215 of file JoinColumnIterator.h.

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

const JoinColumnTypeInfo* JoinColumnTuple::type_info_per_key

Definition at line 217 of file JoinColumnIterator.h.

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


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