Files | |
file | json/json.hpp |
Classes | |
class | cudf::get_json_object_options |
Settings for get_json_object() . More... | |
Functions | |
std::unique_ptr< cudf::column > | cudf::get_json_object (cudf::strings_column_view const &col, cudf::string_scalar const &json_path, get_json_object_options options=get_json_object_options{}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Apply a JSONPath string to all rows in an input strings column. More... | |
std::unique_ptr<cudf::column> cudf::get_json_object | ( | cudf::strings_column_view const & | col, |
cudf::string_scalar const & | json_path, | ||
get_json_object_options | options = get_json_object_options{} , |
||
rmm::cuda_stream_view | stream = cudf::get_default_stream() , |
||
rmm::device_async_resource_ref | mr = cudf::get_current_device_resource_ref() |
||
) |
Apply a JSONPath string to all rows in an input strings column.
Applies a JSONPath string to an incoming strings column where each row in the column is a valid json string. The output is returned by row as a strings column.
https://tools.ietf.org/id/draft-goessner-dispatch-jsonpath-00.html Implements only the operators: $ . [] *
std::invalid_argument | if provided an invalid operator or an empty name |
col | The input strings column. Each row must contain a valid json string |
json_path | The JSONPath string to be applied to each row |
options | Options for controlling the behavior of the function |
stream | CUDA stream used for device memory operations and kernel launches |
mr | Resource for allocating device memory |