CreateIndexRequest Class (original) (raw)

Represents a create index request.

Inheritance Hierarchy

SystemObject
MongoDB.Driver.Core.OperationsCreateIndexRequest

Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public class CreateIndexRequest

Public Class CreateIndexRequest

type CreateIndexRequest = class end

The CreateIndexRequest type exposes the following members.

Constructors

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- | | Public method | CreateIndexRequest | Initializes a new instance of the CreateIndexRequest class. |

Top

Properties

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | | Public property | AdditionalOptions | Gets or sets the additional options. | | Public property | Background | Gets or sets a value indicating whether the index should be created in the background. | | Public property | Bits | Gets or sets the bits of precision of the geohash values for 2d geo indexes. | | Public property | BucketSize | Gets or sets the size of the bucket for geo haystack indexes. | | Public property | Collation | Gets or sets the collation. | | Public property | DefaultLanguage | Gets or sets the default language for text indexes. | | Public property | ExpireAfter | Gets or sets when documents in a TTL collection expire. | | Public property | Keys | Gets the keys. | | Public property | LanguageOverride | Gets or sets the language override for text indexes. | | Public property | Max | Gets or sets the maximum coordinate value for 2d indexes. | | Public property | Min | Gets or sets the minimum coordinate value for 2d indexes. | | Public property | Name | Gets or sets the index name. | | Public property | PartialFilterExpression | Gets or sets the partial filter expression. | | Public property | Sparse | Gets or sets a value indicating whether the index is a sparse index. | | Public property | SphereIndexVersion | Gets or sets the 2dsphere index version. | | Public property | StorageEngine | Gets or sets the storage engine options. | | Public property | TextIndexVersion | Gets or sets the text index version. | | Public property | Unique | Gets or sets a value indicating whether the index enforces the uniqueness of the key values. | | Public property | Version | Gets or sets the index version. | | Public property | Weights | Gets or sets the weights for text indexes. | | Public property | WildcardProjection | Gets or sets the wildcard projection. |

Top

Methods

| | Name | Description | | | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Public method | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | | Protected method | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | | Public method | GetHashCode | Serves as the default hash function. (Inherited from Object.) | | Public method | GetIndexName | Gets the name of the index. | | Public method | GetType | Gets the Type of the current instance. (Inherited from Object.) | | Protected method | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | | Public method | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Top

Extension Methods

See Also

Reference