Package org.terracotta.statistics
Class TableValueStatistic
- java.lang.Object
-
- org.terracotta.statistics.TableSkeleton
-
- org.terracotta.statistics.TableValueStatistic
-
- All Implemented Interfaces:
java.io.Serializable,ValueStatistic<Table>
public class TableValueStatistic extends TableSkeleton implements ValueStatistic<Table>
A statistic that can dynamically construct and provide a table statistic based on provided suppliers- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTableValueStatistic.Builderstatic interfaceTableValueStatistic.RowBuilder
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateTableValueStatistic(java.lang.String... innerStatisticNames)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableValueStatistic.BuildernewBuilder(java.lang.String... innerStatisticNames)StatisticTypetype()Tablevalue()-
Methods inherited from class org.terracotta.statistics.TableSkeleton
getRowCount, getRowLabels, getStatistic, getStatisticCount, getStatisticNames, getStatistics, getStatistics, insert, insert, isEmpty, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
newBuilder
public static TableValueStatistic.Builder newBuilder(java.lang.String... innerStatisticNames)
-
type
public StatisticType type()
- Specified by:
typein interfaceValueStatistic<Table>- Returns:
- The statistic type
-
value
public Table value()
- Specified by:
valuein interfaceValueStatistic<Table>- Returns:
- The current statistic value
-
-