Namespaces | Enumerations | Functions
int_cast.hpp File Reference
#include <cudf/column/column.hpp>
#include <cudf/strings/strings_column_view.hpp>
#include <cudf/types.hpp>
#include <cudf/utilities/memory_resource.hpp>
#include <optional>

Go to the source code of this file.

Namespaces

 cudf
 cuDF interfaces
 
 cudf::strings
 Strings column APIs.
 

Enumerations

enum class  cudf::strings::endian : bool { BIG , LITTLE }
 Configures whether casting also byte swaps.
 

Functions

std::unique_ptr< column > cudf::strings::cast_to_integer (strings_column_view const &input, data_type output_type, endian swap=endian::LITTLE, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
 Returns a new integer numeric column encoded to represent the strings in the input column. More...
 
std::unique_ptr< column > cudf::strings::cast_from_integer (column_view const &integers, endian swap=endian::LITTLE, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
 Returns a new strings column converting the encoded integer values from the provided column into strings. More...
 
std::optional< cudf::data_typecudf::strings::integer_cast_type (strings_column_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream())
 Returns the minimum integer type required to encode the input column. More...