OmniSciDB
a5dc49c757
|
#include <heavydbTypes.h>
Public Member Functions | |
DEVICE | Array (T *ptr, const int64_t size, const bool is_null=false) |
DEVICE | Array () |
template<typename M > | |
HOST | Array (M &mgr, const int64_t size, const bool is_null=false) |
DEVICE | Array (const int64_t size, const bool is_null=false) |
DEVICE | Array (const flatbuffer::Array< T > &arr) |
DEVICE ALWAYS_INLINE T * | data () const |
DEVICE ALWAYS_INLINE size_t | size () const |
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 |
DEVICE bool | operator== (const Array &other) const |
std::string | toString () const |
Public Attributes | |
T * | ptr_ |
int64_t | size_ |
int8_t | is_null_ |
Definition at line 470 of file heavydbTypes.h.
|
inline |
Definition at line 475 of file heavydbTypes.h.
Definition at line 477 of file heavydbTypes.h.
|
inline |
Definition at line 481 of file heavydbTypes.h.
References Array< T >::is_null_, Array< T >::ptr_, and heavydb.dtypes::T.
|
inline |
Definition at line 497 of file heavydbTypes.h.
References allocate_varlen_buffer(), is_null(), Array< T >::ptr_, and heavydb.dtypes::T.
|
inline |
Definition at line 510 of file heavydbTypes.h.
References flatbuffer::NestedArray< T >::getValuesBuffer(), Array< T >::is_null_, Array< T >::ptr_, and Array< T >::size_.
|
inline |
Definition at line 516 of file heavydbTypes.h.
References Array< T >::ptr_.
Referenced by anonymous_namespace{ExtensionFunctionsArray.hpp}::barray_append_impl(), raw_array_as_array_diff_type(), and raw_array_as_array_same_type().
Definition at line 552 of file heavydbTypes.h.
References Array< T >::size_.
Definition at line 556 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(), Array< T >::operator==(), sum_along_row__cpu_template(), and tarray_append().
Definition at line 568 of file heavydbTypes.h.
References Array< T >::is_null_, Array< T >::null_value(), and Array< T >::ptr_.
Definition at line 560 of file heavydbTypes.h.
Referenced by Array< T >::isNull().
Definition at line 572 of file heavydbTypes.h.
References Array< T >::isNull(), Array< T >::size(), and Array< T >::size_.
|
inline |
|
inline |
Definition at line 520 of file heavydbTypes.h.
References Array< T >::size_.
Referenced by array_append__cpu_template(), 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(), Array< T >::operator==(), sum_along_row__cpu_template(), and tarray_append().
|
inline |
Definition at line 585 of file heavydbTypes.h.
References Array< T >::is_null_, Array< T >::ptr_, run_benchmark_import::result, Array< T >::size_, to_string(), and typeName().
int8_t Array< T >::is_null_ |
Definition at line 473 of file heavydbTypes.h.
Referenced by Array< T >::Array(), Array< T >::isNull(), and Array< T >::toString().
T* Array< T >::ptr_ |
Definition at line 471 of file heavydbTypes.h.
Referenced by Array< T >::Array(), Array< T >::data(), Array< T >::isNull(), Array< T >::operator()(), Array< T >::operator[](), and Array< T >::toString().
int64_t Array< T >::size_ |
Definition at line 472 of file heavydbTypes.h.
Referenced by Array< T >::Array(), Array< T >::getSize(), Array< T >::operator()(), Array< T >::operator==(), Array< T >::size(), and Array< T >::toString().