20 #include <type_traits>
23 #include "../Shared/InlineNullValues.h"
24 #include "../Shared/funcannotations.h"
26 #define EXTENSION_INLINE extern "C" ALWAYS_INLINE DEVICE
27 #define EXTENSION_NOINLINE extern "C" NEVER_INLINE DEVICE
30 int64_t element_size);
41 ptr =
reinterpret_cast<T*
>(
49 if (index < static_cast<unsigned int>(
size)) {
63 return std::is_signed<T>::value ? std::numeric_limits<T>::min()
64 : std::numeric_limits<T>::max();
148 template <
typename T>
DEVICE int32_t getCompression() const
std::string toString(const ExtArgumentType &sig_type)
DEVICE int32_t getInputSrid() const
EXTENSION_NOINLINE int8_t * allocate_varlen_buffer(int64_t element_count, int64_t element_size)
DEVICE int32_t * getPolygonSizes()
DEVICE int64_t getNumRings() const
DEVICE int64_t getNumPolygons() const
#define EXTENSION_NOINLINE
DEVICE int32_t getInputSrid() const
DEVICE int32_t getInputSrid() const
DEVICE T & operator[](const unsigned int index) const
CONSTEXPR DEVICE bool is_null(const T &value)
DEVICE Array(const int64_t size, const bool is_null=false)
DEVICE void setSize(int64_t size)
DEVICE T operator()(const unsigned int index) const
CONSTEXPR DEVICE void set_null(T &value)
DEVICE int64_t getSize() const
DEVICE int32_t getCompression() const
DEVICE int32_t getInputSrid() const
DEVICE int64_t getSize() const
DEVICE int32_t getCompression() const
DEVICE constexpr T null_value() const
DEVICE int32_t getOutputSrid() const
DEVICE bool isNull(int64_t index) const
DEVICE void setNull(int64_t index)
DEVICE int64_t getCoordsSize() const
DEVICE int32_t getOutputSrid() const
DEVICE int64_t getSize() const
DEVICE int32_t getCompression() const
DEVICE int64_t getSize() const
DEVICE T & operator[](const unsigned int index)
DEVICE int32_t * getRingSizes()
DEVICE int64_t getNumRings() const
DEVICE int32_t getOutputSrid() const
DEVICE int64_t getCoordsSize() const
DEVICE bool isNull() const
DEVICE int32_t * getRingSizes()
DEVICE int32_t getOutputSrid() const