Namespaces | Functions
search.hpp File Reference

Column APIs for lower_bound, upper_bound, and contains. More...

#include <cudf/column/column.hpp>
#include <cudf/scalar/scalar.hpp>
#include <cudf/table/table.hpp>
#include <cudf/types.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 cudf
 cuDF interfaces
 

Functions

std::unique_ptr< column > cudf::lower_bound (table_view const &t, table_view const &values, std::vector< order > const &column_order, std::vector< null_order > const &null_precedence, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Find smallest indices in a sorted table where values should be inserted to maintain order. More...
 
std::unique_ptr< column > cudf::upper_bound (table_view const &t, table_view const &values, std::vector< order > const &column_order, std::vector< null_order > const &null_precedence, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Find largest indices in a sorted table where values should be inserted to maintain order. More...
 
bool cudf::contains (column_view const &col, scalar const &value)
 Find if the value is present in the col More...
 
std::unique_ptr< column > cudf::contains (column_view const &haystack, column_view const &needles, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Returns a new column of type bool identifying for each element of haystack column, if that element is contained in needles column. More...
 

Detailed Description

Column APIs for lower_bound, upper_bound, and contains.

Definition in file search.hpp.