Package com.arangodb.entity
Class InvertedIndexPrimarySort
java.lang.Object
com.arangodb.entity.InvertedIndexPrimarySort
- Since:
- ArangoDB 3.10
- Author:
- Michele Rastelli
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompression
(ArangoSearchCompression compression) boolean
fields
(InvertedIndexPrimarySort.Field... fields) getCache()
int
hashCode()
-
Constructor Details
-
InvertedIndexPrimarySort
public InvertedIndexPrimarySort()
-
-
Method Details
-
getFields
-
fields
- Parameters:
fields
- An array of the fields to sort the index by and the direction to sort each field in.- Returns:
- this
-
getCompression
-
compression
- Parameters:
compression
- Defines how to compress the primary sort data.- Returns:
- this
-
getCache
-
cache
- Parameters:
cache
- If you enable this option, then the primary sort columns are always cached in memory. This can improve the performance of queries that utilize the primary sort order. Otherwise, these values are memory-mapped and it is up to the operating system to load them from disk into memory and to evict them from memory (Enterprise Edition only).- Returns:
- this
- Since:
- ArangoDB 3.10.2
-
equals
-
hashCode
public int hashCode()
-