Classes | Namespaces | Functions
table_view.hpp File Reference

Class definitions for (mutable)_table_view More...

#include <cudf/column/column_view.hpp>
#include <cudf/types.hpp>
#include <cudf/utilities/export.hpp>
#include <algorithm>
#include <vector>

Go to the source code of this file.

Classes

class  cudf::detail::table_view_base< ColumnView >
 Base class for a table of ColumnViews. More...
 
class  cudf::table_view
 A set of cudf::column_view's of the same size. More...
 
class  cudf::mutable_table_view
 A set of mutable_column_views of the same size. More...
 

Namespaces

 cudf
 cuDF interfaces
 

Functions

bool cudf::detail::has_nested_columns (table_view const &table)
 Determine if any nested columns exist in a given table. More...
 
bool cudf::has_nested_columns (table_view const &table)
 Determine if any nested columns exist in a given table. More...
 
bool cudf::nullable (table_view const &view)
 Returns True if any of the columns in the table is nullable. (not entire hierarchy) More...
 
bool cudf::has_nulls (table_view const &view)
 Returns True if the table has nulls in any of its columns. More...
 
bool cudf::has_nested_nulls (table_view const &input)
 Returns True if the table has nulls in any of its columns hierarchy. More...
 
bool cudf::has_nested_nullable_columns (table_view const &input)
 Returns True if the table has a nullable column at any level of the column hierarchy. More...
 
std::vector< column_view > cudf::get_nullable_columns (table_view const &table)
 The function to collect all nullable columns at all nested levels in a given table. More...
 
table_view cudf::scatter_columns (table_view const &source, std::vector< size_type > const &map, table_view const &target)
 Copy column_views from a table_view into another table_view according to a column indices map. More...
 
template<typename TableView >
bool cudf::detail::is_relationally_comparable (TableView const &lhs, TableView const &rhs)
 Indicates whether respective columns in input tables are relationally comparable. More...
 

Detailed Description

Class definitions for (mutable)_table_view

A (mutable_)table_view is a set of (mutable_)column_views of equal size.

A (mutable_)table_view is non-owning and trivially copyable and should be passed by value.

Definition in file table_view.hpp.

Function Documentation

◆ has_nested_columns()

bool cudf::detail::has_nested_columns ( table_view const &  table)

Determine if any nested columns exist in a given table.

Parameters
tableThe input table
Returns
Whether nested columns exist in the input table

◆ is_relationally_comparable()

template<typename TableView >
bool cudf::detail::is_relationally_comparable ( TableView const &  lhs,
TableView const &  rhs 
)

Indicates whether respective columns in input tables are relationally comparable.

Parameters
lhsThe first table
rhsThe second table (may be the same table as lhs)
Returns
true all of respective columns on lhs and 'rhstables are comparable. @return false any of respective columns onlhsand 'rhs tables are not comparable.