Struct TableInfoBase
Defined in File table_info.hpp
Derived Types
public morpheus::MutableTableInfo
(Struct MutableTableInfo)public morpheus::TableInfo
(Struct TableInfo)
-
struct TableInfoBase
Subclassed by morpheus::MutableTableInfo, morpheus::TableInfo
Public Functions
-
const cudf::table_view &get_view() const
Get reference of a cudf table view.
- Returns
cudf::table_view
-
std::vector<std::string> get_index_names() const
Get index names of a data table.
- Returns
std::vector<std::string>
-
std::vector<std::string> get_column_names() const
Get column names of a data table.
- Returns
std::vector<std::string>
-
cudf::size_type num_indices() const
Get size of a index names in a data table.
- Returns
cudf::size_type
-
cudf::size_type num_columns() const
Get columns count in a data table.
- Returns
cudf::size_type
-
cudf::size_type num_rows() const
Get rows count in a data table.
- Returns
cudf::size_type
-
const cudf::column_view &get_column(cudf::size_type idx) const
Returns a reference to the view of the specified column.
- Throws
- Parameters
- Returns
std::out_of_range – If
column_index
is out of the range [0, num_columns)idx – : The index of the desired column
cudf::column_view : A reference to the desired column
-
bool has_sliceable_index() const
Returns true if the underlying dataframe as a unique index.
- Returns
bool
Protected Functions
- TableInfoBase() = default
- const std::shared_ptr<const IDataTable> &get_parent() const
- TableInfoData &get_data()
- const TableInfoData &get_data() const
-
const cudf::table_view &get_view() const