Class InvertedIndexPrimarySort

java.lang.Object
com.arangodb.entity.InvertedIndexPrimarySort

public final class InvertedIndexPrimarySort extends Object
Since:
ArangoDB 3.10
Author:
Michele Rastelli
  • Constructor Details

    • InvertedIndexPrimarySort

      public InvertedIndexPrimarySort()
  • Method Details

    • getFields

      public List<InvertedIndexPrimarySort.Field> 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

      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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object