gravitino.api.stats.statistic_value.StatisticValue

class gravitino.api.stats.statistic_value.StatisticValue

Bases: Generic[_StatisticValueT], ABC

An interface representing a statistic value.

Type Parameters:

The type of the statistic value.

__init__()

Methods

__init__()

data_type()

Returns the data type of the statistic value.

value()

Returns the value of the statistic.

abstract data_type() Type

Returns the data type of the statistic value.

Returns:

Type: the data type of the statistic value

abstract value() _StatisticValueT

Returns the value of the statistic.

Returns:

The value of the statistic