9 #include <cudf/column/scalar_column_view.hpp>
11 #include <cudf/utilities/export.hpp>
26 namespace CUDF_EXPORT
cudf {
48 output_nullability::PRESERVE;
71 std::span<transform_input const> inputs,
72 std::string
const& udf,
75 std::optional<void*> user_data = std::nullopt,
77 std::optional<size_type> row_size = std::nullopt,
93 bool is_scalar =
false;
95 std::vector<transform_input_spec> children =
110 output_nullability::PRESERVE;
112 bool has_string_offsets =
false;
113 std::vector<transform_output_spec> children =
129 std::unique_ptr<impl> impl_;
152 std::optional<void*> user_data,
153 std::span<transform_input const> inputs,
154 std::span<transform_output const> outputs,
155 std::span<std::unique_ptr<column>
const> string_offsets);
175 std::optional<void*> user_data,
176 std::span<transform_input_spec const> inputs,
177 std::span<transform_output_spec const> outputs);
191 std::span<std::reference_wrapper<ast::expression const>
const> expressions,
229 std::unique_ptr<table>
run(
230 std::span<transform_input const> inputs,
231 std::span<transform_output const> outputs,
232 std::vector<std::unique_ptr<column>>&& string_offsets,
233 std::optional<size_type> row_size,
248 std::unique_ptr<table>
run(
296 std::string
const& udf,
299 std::optional<void*> user_data,
300 std::span<transform_input const> inputs,
301 std::span<transform_output const> outputs,
302 std::vector<std::unique_ptr<column>>&& string_offsets,
303 std::optional<size_type> row_size,
326 std::string
const& udf,
329 std::optional<void*> user_data,
330 std::span<transform_input const> inputs,
331 std::span<transform_output const> outputs,
332 std::vector<std::unique_ptr<column>>&& string_offsets,
333 std::optional<size_type> row_size,
384 std::span<uint8_t const> udf,
387 std::optional<void*> user_data,
388 std::span<transform_input const> inputs,
389 std::span<transform_output const> outputs,
390 std::vector<std::unique_ptr<column>>&& string_offsets,
391 std::optional<size_type> row_size,
501 std::span<std::reference_wrapper<ast::expression const>
const> expressions,
551 std::pair<std::unique_ptr<cudf::table>, std::unique_ptr<cudf::column>>
encode(
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
Indicator for the logical data type of an element in a column.
A set of cudf::column_view's of the same size.
A set of cudf::column's of the same size.
Class definitions for building and evaluating abstract syntax tree expressions.
cuda::stream_ref const get_default_stream()
Get the current default stream.
rmm::device_async_resource_ref get_current_device_resource_ref()
Get the current device memory resource reference.
cuda::mr::resource_ref< cuda::mr::device_accessible > device_async_resource_ref
int32_t size_type
Row index type for columns and tables.
null_policy
Enum to specify whether to include nulls or exclude nulls.
uint32_t bitmask_type
Bitmask type stored as 32-bit unsigned integer.
output_nullability
Indicates the null output policy of a function.
null_aware
A function is null-aware if its output value uses the input validity.
udf_source_type
Indicates the source language of a user defined function (UDF) to be used in JIT APIs.
type_id
Identifies a column's logical element type.
APIs for getting and setting the current device memory resource.
A generic expression that can be evaluated to return a value.
Type declarations for libcudf.