C# Class MongoDB.Driver.CollectionStatsResult.IndexSizesResult

Represents a collection of index sizes.
Datei anzeigen Open project: CloudMetal/mongo-csharp-driver

Public Methods

Method Description
ContainsKey ( string indexName ) : bool

Tests whether the results contain the size of an index.

IndexSizesResult ( BsonDocument indexSizes ) : System

Initializes a new instance of the IndexSizesResult class.

this ( string indexName ) : long

Gets the size of an index.

Method Details

ContainsKey() public method

Tests whether the results contain the size of an index.
public ContainsKey ( string indexName ) : bool
indexName string The name of the index.
return bool

IndexSizesResult() public method

Initializes a new instance of the IndexSizesResult class.
public IndexSizesResult ( BsonDocument indexSizes ) : System
indexSizes BsonDocument The index sizes document.
return System

this() public method

Gets the size of an index.
public this ( string indexName ) : long
indexName string The name of the index.
return long