NVIDIA Morpheus (24.06)
(Latest Version)

Struct TableInfoBase

Derived Types

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

std::out_of_range – If column_index is out of the range [0, num_columns)

Parameters

idx – : The index of the desired column

Returns

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

TableInfoBase(std::shared_ptr<const IDataTable> parent, TableInfoData data)

const std::shared_ptr<const IDataTable> &get_parent() const

TableInfoData &get_data()

const TableInfoData &get_data() const

Previous Struct TableInfo
Next Struct TableInfoData
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.