17#include "sparrow/utils/extension.hpp"
18#include "sparrow/variable_size_binary_array.hpp"
19#include "sparrow/variable_size_binary_view_array.hpp"
43 using json_array = sparrow::variable_size_binary_array_impl<
44 sparrow::arrow_traits<std::string>::value_type,
45 sparrow::arrow_traits<std::string>::const_reference,
67 sparrow::arrow_traits<std::string>::value_type,
68 sparrow::arrow_traits<std::string>::const_reference,
91 sparrow::arrow_traits<std::string>::value_type,
92 sparrow::arrow_traits<std::string>::const_reference,
101 [[nodiscard]]
static constexpr sparrow::data_type
get()
103 return sparrow::data_type::STRING;
110 [[nodiscard]]
static constexpr sparrow::data_type
get()
112 return sparrow::data_type::LARGE_STRING;
119 [[nodiscard]]
static constexpr sparrow::data_type
get()
121 return sparrow::data_type::STRING_VIEW;
sparrow::variable_size_binary_view_array_impl< sparrow::arrow_traits< std::string >::value_type, sparrow::arrow_traits< std::string >::const_reference, json_extension > json_view_array
JSON array with view-based storage.
sparrow::variable_size_binary_array_impl< sparrow::arrow_traits< std::string >::value_type, sparrow::arrow_traits< std::string >::const_reference, std::int64_t, json_extension > big_json_array
JSON array with 64-bit offsets.
sparrow::variable_size_binary_array_impl< sparrow::arrow_traits< std::string >::value_type, sparrow::arrow_traits< std::string >::const_reference, std::int32_t, json_extension > json_array
JSON array with 32-bit offsets.
sparrow::simple_extension<"arrow.json"> json_extension
static constexpr sparrow::data_type get()
static constexpr sparrow::data_type get()
static constexpr sparrow::data_type get()