The StatisticType can be one of:
| Constant | Description | 
|---|---|
Enums. | (0) Returns the average for all non-null values in a column. | 
Enums. | (1) Returns the number of non-null values in a column. | 
Enums. | (2) Returns the maximum value found within a column. | 
Enums. | (3) Returns the minimum value found within a column. | 
Enums. | (4) Returns the standard deviation of the values within a column. | 
Enums. | (5) Returns the sum of all non-null values within a column. | 
Enums. | (6) Returns the variance of the values within a column. |