Apache Ignite C++ Client
Loading...
Searching...
No Matches
ignite::table Class Reference

#include <table.h>

Public Member Functions

 table (table &&) noexcept=default
tableoperator= (table &&) noexcept=default
 table (const table &)=delete
tableoperator= (const table &)=delete
IGNITE_API const std::string & get_name () const noexcept
IGNITE_API const qualified_nameget_qualified_name () const noexcept
IGNITE_API record_view< ignite_tupleget_record_binary_view () const noexcept
template<typename T>
record_view< T > get_record_view () const noexcept
IGNITE_API key_value_view< ignite_tuple, ignite_tupleget_key_value_binary_view () const noexcept
template<typename K, typename V>
key_value_view< K, V > get_key_value_view () const noexcept

Friends

class detail::table_impl
class detail::tables_impl

Detailed Description

Table.

Member Function Documentation

◆ get_key_value_binary_view()

key_value_view< ignite_tuple, ignite_tuple > ignite::table::get_key_value_binary_view ( ) const
nodiscardnoexcept

Gets the key-value binary view.

Returns
Key-value binary view.

◆ get_key_value_view()

template<typename K, typename V>
key_value_view< K, V > ignite::table::get_key_value_view ( ) const
inlinenodiscardnoexcept

Gets the key-value view.

Template functions convert_to_tuple() and convert_from_tuple() should be specialized for the types K and V.

See also
See type_mapping.h for details.
Returns
Key-value view.

◆ get_name()

const std::string & ignite::table::get_name ( ) const
nodiscardnoexcept

Gets the table name.

Returns
Table name.

◆ get_qualified_name()

const qualified_name & ignite::table::get_qualified_name ( ) const
nodiscardnoexcept

Gets the table qualified name.

Returns
Table qualified name.

◆ get_record_binary_view()

record_view< ignite_tuple > ignite::table::get_record_binary_view ( ) const
nodiscardnoexcept

Gets the record binary view.

Returns
Record binary view.

◆ get_record_view()

template<typename T>
record_view< T > ignite::table::get_record_view ( ) const
inlinenodiscardnoexcept

Gets the record view for the type.

Template functions convert_to_tuple() and convert_from_tuple() should be specialized for the type T.

See also
See type_mapping.h for details.
Returns
Record view.

The documentation for this class was generated from the following files: