Kudu C++ client API
Public Member Functions | List of all members
kudu::client::KuduTableStatistics Class Reference

In-memory statistics of table. More...

#include <client.h>

Public Member Functions

int64_t on_disk_size () const
 
int64_t live_row_count () const
 
int64_t on_disk_size_limit () const
 
int64_t live_row_count_limit () const
 
std::string ToString () const
 

Detailed Description

In-memory statistics of table.

Member Function Documentation

◆ live_row_count()

int64_t kudu::client::KuduTableStatistics::live_row_count ( ) const
Returns
The table's live row count. -1 is returned if the table doesn't support live_row_count.
Note
This statistic is pre-replication.

◆ live_row_count_limit()

int64_t kudu::client::KuduTableStatistics::live_row_count_limit ( ) const
Returns
The table's live row count limit. -1 is returned if there is no row count limit on this table.
Note
It is experimental and may change or disappear in future. This feature currently applies row count limit on a single table, but it should also support database level row count limit.

◆ on_disk_size()

int64_t kudu::client::KuduTableStatistics::on_disk_size ( ) const
Returns
The table's on disk size. -1 is returned if the table doesn't support on_disk_size.
Note
This statistic is pre-replication.

◆ on_disk_size_limit()

int64_t kudu::client::KuduTableStatistics::on_disk_size_limit ( ) const
Returns
The table's on disk size limit. -1 is returned if there is no disk size limit on this table.
Note
It is experimental and may change or disappear in future. This feature currently applies size limit on a single table, but it should also support database level size limit.

◆ ToString()

std::string kudu::client::KuduTableStatistics::ToString ( ) const

Stringify this Statistics.

Returns
A string describing this statistics

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