OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ColumnList< T > Struct Template Reference

#include <heavydbTypes.h>

Public Member Functions

DEVICE int64_t size () const
 
DEVICE int64_t numCols () const
 
DEVICE Column< T > operator[] (const int index) const
 

Public Attributes

int8_t ** ptrs_
 
int64_t num_cols_
 
int64_t size_
 

Detailed Description

template<typename T>
struct ColumnList< T >

Definition at line 585 of file heavydbTypes.h.

Member Function Documentation

template<typename T>
DEVICE int64_t ColumnList< T >::numCols ( ) const
inline
template<typename T>
DEVICE Column<T> ColumnList< T >::operator[] ( const int  index) const
inline

Definition at line 592 of file heavydbTypes.h.

References ColumnList< T >::num_cols_, ColumnList< T >::ptrs_, run_benchmark_import::result, ColumnList< T >::size_, heavydb.dtypes::T, to_string(), toString(), and typeName().

592  {
593  if (index >= 0 && index < num_cols_)
594  return {reinterpret_cast<T*>(ptrs_[index]), size_};
595  else
596  return {nullptr, -1};
597  }
int64_t size_
Definition: heavydbTypes.h:588
int8_t ** ptrs_
Definition: heavydbTypes.h:586
int64_t num_cols_
Definition: heavydbTypes.h:587

+ Here is the call graph for this function:

template<typename T>
DEVICE int64_t ColumnList< T >::size ( ) const
inline

Definition at line 590 of file heavydbTypes.h.

References ColumnList< T >::size_.

Referenced by TableFunctions_Namespace::strip_column_metadata().

590 { return size_; }
int64_t size_
Definition: heavydbTypes.h:588

+ Here is the caller graph for this function:

Member Data Documentation


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