Package com.arangodb.entity
Class InvertedIndexPrimarySort
- java.lang.Object
-
- com.arangodb.entity.InvertedIndexPrimarySort
-
public final class InvertedIndexPrimarySort extends Object
- Since:
- ArangoDB 3.10
- Author:
- Michele Rastelli
- See Also:
- API Documentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InvertedIndexPrimarySort.Field
-
Constructor Summary
Constructors Constructor Description InvertedIndexPrimarySort()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvertedIndexPrimarySort
cache(Boolean cache)
InvertedIndexPrimarySort
compression(ArangoSearchCompression compression)
boolean
equals(Object o)
InvertedIndexPrimarySort
fields(InvertedIndexPrimarySort.Field... fields)
Boolean
getCache()
ArangoSearchCompression
getCompression()
List<InvertedIndexPrimarySort.Field>
getFields()
int
hashCode()
-
-
-
Method Detail
-
getFields
public List<InvertedIndexPrimarySort.Field> getFields()
-
fields
public InvertedIndexPrimarySort fields(InvertedIndexPrimarySort.Field... fields)
- Parameters:
fields
- An array of the fields to sort the index by and the direction to sort each field in.- Returns:
- this
-
getCompression
public ArangoSearchCompression getCompression()
-
compression
public InvertedIndexPrimarySort compression(ArangoSearchCompression compression)
- Parameters:
compression
- Defines how to compress the primary sort data.- Returns:
- this
-
getCache
public Boolean getCache()
-
cache
public InvertedIndexPrimarySort cache(Boolean 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
-
-