ADBC
Arrow Database Connectivity
Loading...
Searching...
No Matches
ADBC Statistic Types

Macros

#define ADBC_STATISTIC_AVERAGE_BYTE_WIDTH_KEY   0
 The dictionary-encoded name of the average byte width statistic.
 
#define ADBC_STATISTIC_AVERAGE_BYTE_WIDTH_NAME   "adbc.statistic.byte_width"
 The average byte width statistic. The average size in bytes of a row in the column. Value type is float64.
 
#define ADBC_STATISTIC_DISTINCT_COUNT_KEY   1
 The dictionary-encoded name of the distinct value count statistic.
 
#define ADBC_STATISTIC_DISTINCT_COUNT_NAME   "adbc.statistic.distinct_count"
 The distinct value count (NDV) statistic. The number of distinct values in the column. Value type is int64 (when not approximate) or float64 (when approximate).
 
#define ADBC_STATISTIC_MAX_BYTE_WIDTH_KEY   2
 The dictionary-encoded name of the max byte width statistic.
 
#define ADBC_STATISTIC_MAX_BYTE_WIDTH_NAME   "adbc.statistic.max_byte_width"
 The max byte width statistic. The maximum size in bytes of a row in the column. Value type is int64 (when not approximate) or float64 (when approximate).
 
#define ADBC_STATISTIC_MAX_VALUE_KEY   3
 The dictionary-encoded name of the max value statistic.
 
#define ADBC_STATISTIC_MAX_VALUE_NAME   "adbc.statistic.max_value"
 The max value statistic. Value type is column-dependent.
 
#define ADBC_STATISTIC_MIN_VALUE_KEY   4
 The dictionary-encoded name of the min value statistic.
 
#define ADBC_STATISTIC_MIN_VALUE_NAME   "adbc.statistic.min_value"
 The min value statistic. Value type is column-dependent.
 
#define ADBC_STATISTIC_NULL_COUNT_KEY   5
 The dictionary-encoded name of the null count statistic.
 
#define ADBC_STATISTIC_NULL_COUNT_NAME   "adbc.statistic.null_count"
 The null count statistic. The number of values that are null in the column. Value type is int64 (when not approximate) or float64 (when approximate).
 
#define ADBC_STATISTIC_ROW_COUNT_KEY   6
 The dictionary-encoded name of the row count statistic.
 
#define ADBC_STATISTIC_ROW_COUNT_NAME   "adbc.statistic.row_count"
 The row count statistic. The number of rows in the column or table. Value type is int64 (when not approximate) or float64 (when approximate).
 

Detailed Description

Standard statistic names for AdbcConnectionGetStatistics.

Macro Definition Documentation

◆ ADBC_STATISTIC_AVERAGE_BYTE_WIDTH_KEY

#define ADBC_STATISTIC_AVERAGE_BYTE_WIDTH_KEY   0

The dictionary-encoded name of the average byte width statistic.

◆ ADBC_STATISTIC_AVERAGE_BYTE_WIDTH_NAME

#define ADBC_STATISTIC_AVERAGE_BYTE_WIDTH_NAME   "adbc.statistic.byte_width"

The average byte width statistic. The average size in bytes of a row in the column. Value type is float64.

For example, this is roughly the average length of a string for a string column.

◆ ADBC_STATISTIC_DISTINCT_COUNT_KEY

#define ADBC_STATISTIC_DISTINCT_COUNT_KEY   1

The dictionary-encoded name of the distinct value count statistic.

◆ ADBC_STATISTIC_DISTINCT_COUNT_NAME

#define ADBC_STATISTIC_DISTINCT_COUNT_NAME   "adbc.statistic.distinct_count"

The distinct value count (NDV) statistic. The number of distinct values in the column. Value type is int64 (when not approximate) or float64 (when approximate).

◆ ADBC_STATISTIC_MAX_BYTE_WIDTH_KEY

#define ADBC_STATISTIC_MAX_BYTE_WIDTH_KEY   2

The dictionary-encoded name of the max byte width statistic.

◆ ADBC_STATISTIC_MAX_BYTE_WIDTH_NAME

#define ADBC_STATISTIC_MAX_BYTE_WIDTH_NAME   "adbc.statistic.max_byte_width"

The max byte width statistic. The maximum size in bytes of a row in the column. Value type is int64 (when not approximate) or float64 (when approximate).

For example, this is the maximum length of a string for a string column.

◆ ADBC_STATISTIC_MAX_VALUE_KEY

#define ADBC_STATISTIC_MAX_VALUE_KEY   3

The dictionary-encoded name of the max value statistic.

◆ ADBC_STATISTIC_MAX_VALUE_NAME

#define ADBC_STATISTIC_MAX_VALUE_NAME   "adbc.statistic.max_value"

The max value statistic. Value type is column-dependent.

◆ ADBC_STATISTIC_MIN_VALUE_KEY

#define ADBC_STATISTIC_MIN_VALUE_KEY   4

The dictionary-encoded name of the min value statistic.

◆ ADBC_STATISTIC_MIN_VALUE_NAME

#define ADBC_STATISTIC_MIN_VALUE_NAME   "adbc.statistic.min_value"

The min value statistic. Value type is column-dependent.

◆ ADBC_STATISTIC_NULL_COUNT_KEY

#define ADBC_STATISTIC_NULL_COUNT_KEY   5

The dictionary-encoded name of the null count statistic.

◆ ADBC_STATISTIC_NULL_COUNT_NAME

#define ADBC_STATISTIC_NULL_COUNT_NAME   "adbc.statistic.null_count"

The null count statistic. The number of values that are null in the column. Value type is int64 (when not approximate) or float64 (when approximate).

◆ ADBC_STATISTIC_ROW_COUNT_KEY

#define ADBC_STATISTIC_ROW_COUNT_KEY   6

The dictionary-encoded name of the row count statistic.

◆ ADBC_STATISTIC_ROW_COUNT_NAME

#define ADBC_STATISTIC_ROW_COUNT_NAME   "adbc.statistic.row_count"

The row count statistic. The number of rows in the column or table. Value type is int64 (when not approximate) or float64 (when approximate).