Class CollectionStatsResult
Represents the results of the collection stats command.
[Serializable]
[BsonSerializer(typeof(CommandResultSerializer<CollectionStatsResult>))]
public class CollectionStatsResult : CommandResult
- Inheritance
-
CollectionStatsResult
- Inherited Members
- Extension Methods
Constructors
CollectionStatsResult(BsonDocument)
Initializes a new instance of the CollectionStatsResult class.
public CollectionStatsResult(BsonDocument response)
Parameters
response
BsonDocumentThe response.
Properties
AverageObjectSize
Gets the average object size.
public double AverageObjectSize { get; }
Property Value
DataSize
Gets the data size.
public long DataSize { get; }
Property Value
ExtentCount
Gets the extent count.
public int ExtentCount { get; }
Property Value
IndexCount
Gets the index count.
public int IndexCount { get; }
Property Value
IndexSizes
Gets the index sizes.
public CollectionStatsResult.IndexSizesResult IndexSizes { get; }
Property Value
IsCapped
Gets a value indicating whether the collection is capped.
public bool IsCapped { get; }
Property Value
LastExtentSize
Gets the last extent size.
public long LastExtentSize { get; }
Property Value
MaxDocuments
Gets the index count.
public long MaxDocuments { get; }
Property Value
Namespace
Gets the namespace.
public string Namespace { get; }
Property Value
ObjectCount
Gets the object count.
public long ObjectCount { get; }
Property Value
PaddingFactor
Gets the padding factor.
public double PaddingFactor { get; }
Property Value
StorageSize
Gets the storage size.
public long StorageSize { get; }
Property Value
SystemFlags
Gets the system flags.
public CollectionSystemFlags SystemFlags { get; }
Property Value
TotalIndexSize
Gets the total index size.
public long TotalIndexSize { get; }
Property Value
UserFlags
Gets the user flags.
public CollectionUserFlags UserFlags { get; }