FieldStats class

The statistics for a field calculated in the request.

Constructors

FieldStats({int? count, String? max, String? mean, String? min, int? missing, double? stddev, double? sum, double? sumOfSquares})
FieldStats.fromJson(Map<String, dynamic> json)
factory

Properties

count int?
The number of documents that contain a value in the specified field in the result set.
final
hashCode int
The hash code for this object.
no setterinherited
max String?
The maximum value found in the specified field in the result set.
final
mean String?
The average of the values found in the specified field in the result set.
final
min String?
The minimum value found in the specified field in the result set.
final
missing int?
The number of documents that do not contain a value in the specified field in the result set.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stddev double?
The standard deviation of the values in the specified field in the result set.
final
sum double?
The sum of the field values across the documents in the result set. null for date fields.
final
sumOfSquares double?
The sum of all field values in the result set squared.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited