ICollectionApiClient Interface |
Namespace: ArangoDBNetStandard.CollectionApi
The ICollectionApiClient type exposes the following members.
Name | Description | |
---|---|---|
DeleteCollectionAsync | ||
GetChecksumAsync |
Get the checksum for a specific collection.
GET /_api/collection/{collection-name}/checksum
| |
GetCollectionAsync |
Gets the requested collection.
GET/_api/collection/{collection-name}
| |
GetCollectionCountAsync |
Gets count of documents in a collection.
GET/_api/collection/{collection-name}/count
| |
GetCollectionFiguresAsync |
Contains the number of documents and additional statistical information about the collection.
GET/_api/collection/{collection-name}/figures
| |
GetCollectionPropertiesAsync |
Read properties of a collection.
GET /_api/collection/{collection-name}/properties
| |
GetCollectionRevisionAsync |
Get a revision of the collection.
GET /_api/collection/{collection-name}/revision
| |
GetCollectionsAsync |
Get all collections.
GET/_api/collection
| |
GetCollectionShardsAsync |
Returns the shard ids of a collection.
This method is only available in a cluster Coordinator.
GET /_api/collection/{collection-name}/shards
| |
GetCollectionShardsWithDetailsAsync |
Returns the shard ids of a collection.
This method is only available in a cluster Coordinator.
The response also contains shard IDs as object attribute
keys, and the responsible servers for each shard mapped
to them. The leader shards will be first in the arrays.
GET /_api/collection/{collection-name}/shards?details=true
| |
PostCollectionAsync | ||
PutCollectionPropertyAsync |
Changes the properties of a collection
PUT /_api/collection/{collection-name}/properties
| |
PutCompactCollectionDataAsync |
Compacts the data of a collection in order to reclaim disk space.
The operation will compact the document and index data by rewriting
the underlying .sst files and only keeping the relevant entries.
PUT /_api/collection/{collection-name}/compact
| |
PutDocumentShardAsync |
Returns the responsible shard for a document.
PUT /_api/collection/{collection-name}/responsibleShard
| |
PutLoadIndexesIntoMemoryAsync |
Load Indexes into Memory.
Caches all index entries of this collection into the main memory.
Therefore it iterates over all indexes of the collection and
stores the indexed values, not the entire document data,
in memory.
PUT /_api/collection/{collection-name}/loadIndexesIntoMemory
| |
PutRecalculateCountAsync |
Recalculates the document count of a collection.
PUT /_api/collection/{collection-name}/recalculateCount
| |
RenameCollectionAsync |
Rename a collection.
PUT /_api/collection/{collection-name}/rename
| |
TruncateCollectionAsync |
Truncates a collection, i.e. removes all documents in the collection.
PUT/_api/collection/{collection-name}/truncate
|