APIs for converting between cudf tables and DLPack tensors. More...
#include <cudf/column/column.hpp>#include <cudf/detail/transform.hpp>#include <cudf/strings/strings_column_view.hpp>#include <cudf/table/table.hpp>#include <cudf/table/table_view.hpp>#include <cudf/types.hpp>#include <cudf/utilities/export.hpp>#include <cudf/utilities/memory_resource.hpp>#include <cudf/utilities/span.hpp>#include <rmm/resource_ref.hpp>#include <span>#include <utility>Go to the source code of this file.
Classes | |
| struct | cudf::column_metadata |
| Detailed metadata information for arrow array. More... | |
| struct | cudf::custom_view_deleter< ViewType > |
| functor for a custom deleter to a unique_ptr of table_view More... | |
| class | cudf::interop::arrow_column |
| A standard interchange medium for ArrowDeviceArray data in cudf. More... | |
| class | cudf::interop::arrow_table |
| A standard interchange medium for ArrowDeviceArray data in cudf. More... | |
Namespaces | |
| cudf | |
| cuDF interfaces | |
Typedefs | |
| using | cudf::unique_schema_t = std::unique_ptr< ArrowSchema, void(*)(ArrowSchema *)> |
| typedef for a unique_ptr to an ArrowSchema with custom deleter | |
| using | cudf::unique_device_array_t = std::unique_ptr< ArrowDeviceArray, void(*)(ArrowDeviceArray *)> |
| typedef for a unique_ptr to an ArrowDeviceArray with a custom deleter | |
| using | cudf::owned_columns_t = std::vector< std::unique_ptr< cudf::column > > |
| typedef for a vector of owning columns, used for conversion from ArrowDeviceArray | |
| using | cudf::unique_table_view_t = std::unique_ptr< cudf::table_view, custom_view_deleter< cudf::table_view > > |
typedef for a unique_ptr to a cudf::table_view with custom deleter | |
| using | cudf::unique_column_view_t = std::unique_ptr< cudf::column_view, custom_view_deleter< cudf::column_view > > |
typedef for a unique_ptr to a cudf::column_view with custom deleter | |
APIs for converting between cudf tables and DLPack tensors.
APIs for converting between cudf tables/columns and Apache Arrow arrays.
Definition in file interop.hpp.
| cudf::column_metadata cudf::interop::get_column_metadata | ( | cudf::column_view const & | input | ) |
Helper function to generate empty column metadata (column with no name) for arrow conversion.
This function is helpful for internal conversions between host and device data using existing arrow functions. It is also convenient for external usage of the libcudf Arrow APIs to produce the canonical mapping from cudf column names to Arrow column names (i.e. empty names with appropriate nesting).
| input | The column to generate metadata for |
| std::vector<cudf::column_metadata> cudf::interop::get_table_metadata | ( | cudf::table_view const & | input | ) |
Helper function to generate empty table metadata (all columns with no names) for arrow conversion.
This function is helpful for internal conversions between host and device data using existing arrow functions. It is also convenient for external usage of the libcudf Arrow APIs to produce the canonical mapping from cudf column names to Arrow column names (i.e. empty names with appropriate nesting).
| input | The table to generate metadata for |