Dictionary column encode and decode APIs. More...
#include <cudf/column/column.hpp>
#include <cudf/column/column_view.hpp>
#include <cudf/dictionary/dictionary_column_view.hpp>
#include <cudf/utilities/memory_resource.hpp>
Go to the source code of this file.
Namespaces | |
cudf | |
cuDF interfaces | |
cudf::dictionary | |
Dictionary column APIs. | |
Functions | |
std::unique_ptr< column > | cudf::dictionary::encode (column_view const &column, data_type indices_type=data_type{type_id::UINT32}, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Construct a dictionary column by dictionary encoding an existing column. More... | |
std::unique_ptr< column > | cudf::dictionary::decode (dictionary_column_view const &dictionary_column, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Create a column by gathering the keys from the provided dictionary_column into a new column using the indices from that column. More... | |
Dictionary column encode and decode APIs.
Definition in file encode.hpp.