Package org.terracotta.statistics
Class Table.Builder
- java.lang.Object
-
- org.terracotta.statistics.Table.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tablebuild()<T extends Serializable>
Table.BuildersetStatistic(String rowName, String statisticName, StatisticType type, T value)Table.BuilderwithRow(String rowName, Consumer<Table.RowBuilder> c)Table.BuilderwithRows(Collection<String> rowNames, BiConsumer<String,Table.RowBuilder> c)
-
-
-
Method Detail
-
setStatistic
public <T extends Serializable> Table.Builder setStatistic(String rowName, String statisticName, StatisticType type, T value)
-
withRow
public Table.Builder withRow(String rowName, Consumer<Table.RowBuilder> c)
-
withRows
public Table.Builder withRows(Collection<String> rowNames, BiConsumer<String,Table.RowBuilder> c)
-
build
public Table build()
-
-