Table of Contents

Class SpatialIndexDefinition<T>

Namespace
Microsoft.Azure.Cosmos.Fluent
Assembly
Microsoft.Azure.Cosmos.Client.dll

Spatial index fluent definition.

public class SpatialIndexDefinition<T>

Type Parameters

T
Inheritance
SpatialIndexDefinition<T>
Inherited Members
Extension Methods

Methods

Attach()

Applies the current definition to the parent.

public T Attach()

Returns

T

An instance of the parent.

See Also

Path(string)

Adds a path to the current SpatialPath definition.

public SpatialIndexDefinition<T> Path(string path)

Parameters

path string

Property path for the current definition. Example: /property

Returns

SpatialIndexDefinition<T>

An instance of the current SpatialIndexDefinition<T>.

See Also

Path(string, params SpatialType[])

Add a path to the current SpatialPath definition with a particular set of SpatialTypes.

public SpatialIndexDefinition<T> Path(string path, params SpatialType[] spatialTypes)

Parameters

path string

Property path for the current definition. Example: /property

spatialTypes SpatialType[]

Set of SpatialType to apply to the path.

Returns

SpatialIndexDefinition<T>

An instance of the current SpatialIndexDefinition<T>.

See Also

See Also