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 classInvertedIndexPrimarySort.Field
-
Constructor Summary
Constructors Constructor Description InvertedIndexPrimarySort()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvertedIndexPrimarySortcompression(ArangoSearchCompression compression)booleanequals(Object o)InvertedIndexPrimarySortfields(InvertedIndexPrimarySort.Field... fields)ArangoSearchCompressiongetCompression()List<InvertedIndexPrimarySort.Field>getFields()inthashCode()
-
-
-
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
-
-