Package io.deephaven.web.client.api
Class JsColumnStatistics
java.lang.Object
io.deephaven.web.client.api.JsColumnStatistics
@TsInterface
@TsName(name="ColumnStatistics",
namespace="dh")
public class JsColumnStatistics
extends Object
Represents statistics for a given table column.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a map with the display name of statistics as keys and the numeric stat as a value.Gets the type of formatting that should be used for given statistic.Gets a map with the name of each unique value as key and the count as the value.
-
Constructor Details
-
JsColumnStatistics
-
-
Method Details
-
getType
Gets the type of formatting that should be used for given statistic.the format type for a statistic. A null return value means that the column formatting should be used.
- Parameters:
name
- the display name of the statistic- Returns:
- String
-
getStatisticsMap
Gets a map with the display name of statistics as keys and the numeric stat as a value.A map of each statistic's name to its value.
- Returns:
- Map of String and Object
-
getUniqueValues
Gets a map with the name of each unique value as key and the count as the value. A map of each unique value's name to the count of how many times it occurred in the column. This map will be empty for tables containing more than 19 unique values.- Returns:
- Map of String double
-