IndexingPolicyDefinition<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indexing Policy fluent definition.
public class IndexingPolicyDefinition<T>
type IndexingPolicyDefinition<'T> = class
Public Class IndexingPolicyDefinition(Of T)
Type Parameters
- T
- Inheritance
-
IndexingPolicyDefinition<T>
Constructors
IndexingPolicyDefinition<T>() |
Creates an instance for unit-testing |
Methods
Attach() |
Applies the current definition to the parent. |
WithAutomaticIndexing(Boolean) |
Defines the CosmosContainer's automatic indexing. |
WithCompositeIndex() |
Defines a Composite Index in the current CosmosContainer's definition. |
WithExcludedPaths() |
Defines the CosmosContainer's ExcludedPaths. |
WithIncludedPaths() |
Defines the CosmosContainer's IncludedPaths. |
WithIndexingMode(IndexingMode) |
Defines the CosmosContainer's IndexingMode. |
WithSpatialIndex() |
Defines a Azure.Cosmos.SpatialIndex in the current CosmosContainer's definition. |