libcudf  23.12.00
Namespaces | Functions
strings/contains.hpp File Reference

Strings APIs for regex contains, count, matches, like. More...

#include <cudf/column/column.hpp>
#include <cudf/scalar/scalar.hpp>
#include <cudf/strings/regex/flags.hpp>
#include <cudf/strings/strings_column_view.hpp>
#include <rmm/mr/device/per_device_resource.hpp>

Go to the source code of this file.

Namespaces

 cudf
 cuDF interfaces
 
 cudf::strings
 Strings column APIs.
 

Functions

std::unique_ptr< column > cudf::strings::contains_re (strings_column_view const &input, regex_program const &prog, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Returns a boolean column identifying rows which match the given regex_program object. More...
 
std::unique_ptr< column > cudf::strings::matches_re (strings_column_view const &input, regex_program const &prog, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Returns a boolean column identifying rows which matching the given regex_program object but only at the beginning the string. More...
 
std::unique_ptr< column > cudf::strings::count_re (strings_column_view const &input, regex_program const &prog, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Returns the number of times the given regex_program's pattern matches in each string. More...
 
std::unique_ptr< column > cudf::strings::like (strings_column_view const &input, string_scalar const &pattern, string_scalar const &escape_character=string_scalar(""), rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Returns a boolean column identifying rows which match the given like pattern. More...
 
std::unique_ptr< column > cudf::strings::like (strings_column_view const &input, strings_column_view const &patterns, string_scalar const &escape_character=string_scalar(""), rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Returns a boolean column identifying rows which match the corresponding like pattern in the given patterns. More...
 

Detailed Description

Strings APIs for regex contains, count, matches, like.

Definition in file strings/contains.hpp.