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

#include <heavydbTypes.h>

+ Collaboration diagram for ColumnList< TextEncodingDict >:

Public Member Functions

DEVICE int64_t size () const
 
DEVICE int64_t numCols () const
 
DEVICE Column< TextEncodingDictoperator[] (const int index) const
 

Public Attributes

int8_t ** ptrs_
 
int64_t num_cols_
 
int64_t size_
 
StringDictionaryProxy ** string_dict_proxies_
 

Detailed Description

template<>
struct ColumnList< TextEncodingDict >

Definition at line 616 of file heavydbTypes.h.

Member Function Documentation

DEVICE int64_t ColumnList< TextEncodingDict >::numCols ( ) const
inline

Definition at line 627 of file heavydbTypes.h.

References ColumnList< T >::num_cols_.

Referenced by ct_binding_str_equals__cpu_(), and ct_string_concat__cpu_().

627 { return num_cols_; }

+ Here is the caller graph for this function:

DEVICE Column<TextEncodingDict> ColumnList< TextEncodingDict >::operator[] ( const int  index) const
inline

Definition at line 628 of file heavydbTypes.h.

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

628  {
629  if (index >= 0 && index < num_cols_) {
630  return {reinterpret_cast<TextEncodingDict*>(ptrs_[index]),
631  size_,
632 #ifndef __CUDACC__
633 #ifndef UDF_COMPILED
634  string_dict_proxies_[index]
635 #endif // #ifndef UDF_COMPILED
636 #endif // #ifndef __CUDACC__
637  };
638  } else {
639  return {nullptr,
640  -1
641 #ifndef __CUDACC__
642 #ifndef UDF_COMPILED
643  ,
644  nullptr
645 #endif // #ifndef UDF_COMPILED
646 #endif // #ifndef__CUDACC__
647  };
648  }
649  }
StringDictionaryProxy ** string_dict_proxies_
Definition: heavydbTypes.h:622

+ Here is the call graph for this function:

DEVICE int64_t ColumnList< TextEncodingDict >::size ( ) const
inline

Definition at line 626 of file heavydbTypes.h.

References ColumnList< T >::size_.

Referenced by ct_binding_dict_encoded4__cpu_1(), ct_binding_dict_encoded5__cpu_1(), ct_binding_dict_encoded6__cpu_1(), ct_binding_str_equals__cpu_(), and ct_string_concat__cpu_().

626 { return size_; }

+ Here is the caller graph for this function:

Member Data Documentation

int64_t ColumnList< TextEncodingDict >::num_cols_

Definition at line 618 of file heavydbTypes.h.

int8_t** ColumnList< TextEncodingDict >::ptrs_

Definition at line 617 of file heavydbTypes.h.

int64_t ColumnList< TextEncodingDict >::size_

Definition at line 619 of file heavydbTypes.h.

Definition at line 622 of file heavydbTypes.h.


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