C# Класс Arango.Client.AIndex

Показать файл Открыть проект

Открытые методы

Метод Описание
Create ( string collectionName ) : object>>.AResult

Creates index within specified collection in current database context.

Delete ( string id ) : object>>.AResult

Deletes specified index.

Fields ( ) : AIndex

Determines an array of attribute paths in the collection with hash, fulltext, geo or skiplist indexes.

GeoJson ( bool value ) : AIndex

Determines if the order within the array is longitude followed by latitude in geo index.

Get ( string id ) : object>>.AResult

Retrieves specified index.

MinLength ( int value ) : AIndex

Determines minimum character length of words for fulltext index. Will default to a server-defined value if unspecified. It is thus recommended to set this value explicitly when creating the index.

Sparse ( bool value ) : AIndex

Determines if the hash or skiplist index should be sparse.

Type ( AIndexType value ) : AIndex

Determines type of the index.

Unique ( bool value ) : AIndex

Determines if the hash or skiplist index should be unique.

Приватные методы

Метод Описание
AIndex ( Connection connection ) : System

Описание методов

Create() публичный Метод

Creates index within specified collection in current database context.
public Create ( string collectionName ) : object>>.AResult
collectionName string
Результат object>>.AResult

Delete() публичный Метод

Deletes specified index.
Specified id value has invalid format.
public Delete ( string id ) : object>>.AResult
id string
Результат object>>.AResult

Fields() публичный Метод

Determines an array of attribute paths in the collection with hash, fulltext, geo or skiplist indexes.
public Fields ( ) : AIndex
Результат AIndex

GeoJson() публичный Метод

Determines if the order within the array is longitude followed by latitude in geo index.
public GeoJson ( bool value ) : AIndex
value bool
Результат AIndex

Get() публичный Метод

Retrieves specified index.
Specified id value has invalid format.
public Get ( string id ) : object>>.AResult
id string
Результат object>>.AResult

MinLength() публичный Метод

Determines minimum character length of words for fulltext index. Will default to a server-defined value if unspecified. It is thus recommended to set this value explicitly when creating the index.
public MinLength ( int value ) : AIndex
value int
Результат AIndex

Sparse() публичный Метод

Determines if the hash or skiplist index should be sparse.
public Sparse ( bool value ) : AIndex
value bool
Результат AIndex

Type() публичный Метод

Determines type of the index.
public Type ( AIndexType value ) : AIndex
value AIndexType
Результат AIndex

Unique() публичный Метод

Determines if the hash or skiplist index should be unique.
public Unique ( bool value ) : AIndex
value bool
Результат AIndex