OmniSciDB
c1a53651b2
|
#include <heavydbTypes.h>
Public Member Functions | |
DEVICE | Array (T *ptr, const int64_t size, const bool is_null=false) |
DEVICE | Array () |
DEVICE | Array (const int64_t size, const bool is_null=false) |
DEVICE T | operator() (const unsigned int index) const |
DEVICE T & | operator[] (const unsigned int index) |
DEVICE const T & | operator[] (const unsigned int index) const |
DEVICE int64_t | getSize () const |
DEVICE bool | isNull () const |
DEVICE constexpr T | null_value () const |
DEVICE bool | isNull (const unsigned int index) const |
Public Attributes | |
T * | ptr |
int64_t | size |
int8_t | is_null |
Definition at line 223 of file heavydbTypes.h.
|
inline |
Definition at line 228 of file heavydbTypes.h.
Definition at line 230 of file heavydbTypes.h.
|
inline |
Definition at line 232 of file heavydbTypes.h.
References allocate_varlen_buffer(), Array< T >::is_null, Array< T >::ptr, and heavydb.dtypes::T.
Definition at line 256 of file heavydbTypes.h.
References Array< T >::size.
Referenced by anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl(), array_first_half__t32(), anonymous_namespace{ExtensionFunctionsArray.hpp}::array_first_half_impl(), array_second_half__t32(), anonymous_namespace{ExtensionFunctionsArray.hpp}::array_second_half_impl(), array_split__cpu_template(), anonymous_namespace{ExtensionFunctionsArray.hpp}::barray_append_impl(), Column< Array< T > >::concatItem(), Column< Array< T > >::setItem(), sum_along_row__cpu_template(), and tarray_append().
Definition at line 258 of file heavydbTypes.h.
References Array< T >::is_null.
Referenced by array_first_half__t32(), anonymous_namespace{ExtensionFunctionsArray.hpp}::array_first_half_impl(), array_second_half__t32(), anonymous_namespace{ExtensionFunctionsArray.hpp}::array_second_half_impl(), Column< Array< T > >::concatItem(), Column< Array< T > >::setItem(), sum_along_row__cpu_template(), and tarray_append().
Definition at line 262 of file heavydbTypes.h.
References Array< T >::is_null, Array< T >::null_value(), and Array< T >::ptr.
Definition at line 260 of file heavydbTypes.h.
Referenced by Array< T >::isNull().
|
inline |
int8_t Array< T >::is_null |
Definition at line 226 of file heavydbTypes.h.
Referenced by Array< T >::Array(), and Array< T >::isNull().
T* Array< T >::ptr |
Definition at line 224 of file heavydbTypes.h.
Referenced by Array< T >::Array(), anonymous_namespace{ExtensionFunctionsArray.hpp}::barray_append_impl(), HeavyDB_Geo_PolyCoordsArray(), HeavyDB_Geo_PolyPolyRingsArray(), HeavyDB_Geo_PolyRingSizesArray(), Array< T >::isNull(), Array< T >::operator()(), Array< T >::operator[](), raw_array_as_array_diff_type(), and raw_array_as_array_same_type().
int64_t Array< T >::size |
Definition at line 225 of file heavydbTypes.h.
Referenced by Array< T >::getSize(), and Array< T >::operator()().