Class GeoNearResult.GeoNearStats
Represents the stats of a GeoNear command.
public class GeoNearResult.GeoNearStats
- Inheritance
-
GeoNearResult.GeoNearStats
- Inherited Members
- Extension Methods
Constructors
GeoNearStats(BsonDocument)
Initializes a new instance of the GeoNearStats class.
public GeoNearStats(BsonDocument stats)
Parameters
stats
BsonDocumentThe stats.
Properties
AverageDistance
Gets the average distance.
public double AverageDistance { get; }
Property Value
BTreeLocations
Gets the count of b-tree locations.
[Obsolete("Does not exist when using server 2.6.")]
public int BTreeLocations { get; }
Property Value
Duration
Gets the duration.
public TimeSpan Duration { get; }
Property Value
MaxDistance
Gets the max distance.
public double MaxDistance { get; }
Property Value
NumberScanned
Gets the number of documents scanned.
[Obsolete("Does not exist when using server 2.6.")]
public int NumberScanned { get; }
Property Value
ObjectsLoaded
Gets the number of documents loaded.
public int ObjectsLoaded { get; }