public class InvertedIndexPrimarySort extends Object implements Entity
Modifier and Type | Class and Description |
---|---|
static class |
InvertedIndexPrimarySort.Field |
Constructor and Description |
---|
InvertedIndexPrimarySort() |
Modifier and Type | Method and 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() |
public List<InvertedIndexPrimarySort.Field> getFields()
public InvertedIndexPrimarySort fields(InvertedIndexPrimarySort.Field... fields)
fields
- An array of the fields to sort the index by and the direction to sort each field in.public ArangoSearchCompression getCompression()
public InvertedIndexPrimarySort compression(ArangoSearchCompression compression)
compression
- Defines how to compress the primary sort data.public Boolean getCache()
public InvertedIndexPrimarySort cache(Boolean cache)
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).Copyright © 2016–2023 ArangoDB GmbH. All rights reserved.