23 #include <rmm/mr/device/per_device_resource.hpp>
24 #include <rmm/resource_ref.hpp>
55 std::vector<order>
const& column_order = {},
56 std::vector<null_order>
const& null_precedence = {},
58 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
70 std::vector<order>
const& column_order = {},
71 std::vector<null_order>
const& null_precedence = {},
73 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
93 std::vector<order>
const& column_order,
94 std::vector<null_order>
const& null_precedence,
114 std::vector<order>
const& column_order = {},
115 std::vector<null_order>
const& null_precedence = {},
117 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
126 std::vector<order>
const& column_order = {},
127 std::vector<null_order>
const& null_precedence = {},
129 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
156 std::vector<order>
const& column_order = {},
157 std::vector<null_order>
const& null_precedence = {},
159 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
169 std::vector<order>
const& column_order = {},
170 std::vector<null_order>
const& null_precedence = {},
172 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
212 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
260 std::vector<order>
const& column_order = {},
261 std::vector<null_order>
const& null_precedence = {},
263 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
273 std::vector<order>
const& column_order = {},
274 std::vector<null_order>
const& null_precedence = {},
276 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
329 std::vector<order>
const& column_order = {},
330 std::vector<null_order>
const& null_precedence = {},
332 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
343 std::vector<order>
const& column_order = {},
344 std::vector<null_order>
const& null_precedence = {},
346 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
Representation for specifying desired aggregations from aggregation-based APIs, e....
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
A set of cudf::column_view's of the same size.
A set of cudf::column's of the same size.
std::unique_ptr< column > sorted_order(table_view const &input, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Computes the row indices that would produce input in a lexicographical sorted order.
std::unique_ptr< column > rank(column_view const &input, rank_method method, order column_order, null_policy null_handling, null_order null_precedence, bool percentage, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Computes the ranks of input column in sorted order.
std::unique_ptr< table > sort(table_view const &input, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Performs a lexicographic sort of the rows of a table.
std::unique_ptr< column > segmented_sorted_order(table_view const &keys, column_view const &segment_offsets, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Returns sorted order after sorting each segment in the table.
bool is_sorted(cudf::table_view const &table, std::vector< order > const &column_order, std::vector< null_order > const &null_precedence, rmm::cuda_stream_view stream=cudf::get_default_stream())
Checks whether the rows of a table are sorted in a lexicographical order.
std::unique_ptr< table > sort_by_key(table_view const &values, table_view const &keys, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Performs a key-value sort.
std::unique_ptr< table > stable_sort_by_key(table_view const &values, table_view const &keys, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Performs a key-value stable sort.
std::unique_ptr< column > stable_sorted_order(table_view const &input, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Computes the row indices that would produce input in a stable lexicographical sorted order.
std::unique_ptr< table > stable_sort(table_view const &input, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Performs a stable lexicographic sort of the rows of a table.
rank_method
Tie-breaker method to use for ranking the column.
std::unique_ptr< table > segmented_sort_by_key(table_view const &values, table_view const &keys, column_view const &segment_offsets, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Performs a lexicographic segmented sort of a table.
std::unique_ptr< column > stable_segmented_sorted_order(table_view const &keys, column_view const &segment_offsets, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Returns sorted order after stably sorting each segment in the table.
std::unique_ptr< table > stable_segmented_sort_by_key(table_view const &values, table_view const &keys, column_view const &segment_offsets, std::vector< order > const &column_order={}, std::vector< null_order > const &null_precedence={}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Performs a stably lexicographic segmented sort of a table.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
null_order
Indicates how null values compare against all other values.
null_policy
Enum to specify whether to include nulls or exclude nulls.
order
Indicates the order in which elements should be sorted.
Type declarations for libcudf.