Namespaces | Enumerations | Functions
lists/contains.hpp File Reference
#include <cudf/column/column.hpp>
#include <cudf/lists/lists_column_view.hpp>
#include <cudf/utilities/export.hpp>
#include <rmm/mr/device/per_device_resource.hpp>
#include <rmm/resource_ref.hpp>

Go to the source code of this file.

Namespaces

 cudf
 cuDF interfaces
 
 cudf::lists
 Lists column APIs.
 

Enumerations

enum class  cudf::lists::duplicate_find_option : int32_t { cudf::lists::FIND_FIRST = 0 , cudf::lists::FIND_LAST }
 Option to choose whether index_of() returns the first or last match of a search key in a list row. More...
 

Functions

std::unique_ptr< column > cudf::lists::contains (cudf::lists_column_view const &lists, cudf::scalar const &search_key, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
 Create a column of bool values indicating whether the specified scalar is an element of each row of a list column. More...
 
std::unique_ptr< column > cudf::lists::contains (cudf::lists_column_view const &lists, cudf::column_view const &search_keys, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
 Create a column of bool values indicating whether the list rows of the first column contain the corresponding values in the second column. More...
 
std::unique_ptr< column > cudf::lists::contains_nulls (cudf::lists_column_view const &lists, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
 Create a column of bool values indicating whether each row in the lists column contains at least one null element. More...
 
std::unique_ptr< column > cudf::lists::index_of (cudf::lists_column_view const &lists, cudf::scalar const &search_key, duplicate_find_option find_option=duplicate_find_option::FIND_FIRST, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
 Create a column of values indicating the position of a search key within each list row in the lists column. More...
 
std::unique_ptr< column > cudf::lists::index_of (cudf::lists_column_view const &lists, cudf::column_view const &search_keys, duplicate_find_option find_option=duplicate_find_option::FIND_FIRST, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
 Create a column of values indicating the position of a search key row within the corresponding list row in the lists column. More...