ElasticSort
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- ElasticSort.type
Members list
Value members
Concrete methods
Constructs a type-safe instance of SortByField using the specified parameters.
Constructs a type-safe instance of SortByField using the specified parameters.
Attributes
- S
document by which field sort is performed
- field
the Field object representing the type-safe field to sort by
- Returns:
an instance of SortByField that represents sort by field operation to be performed.
Constructs an instance of SortByField using the specified parameters.
Constructs an instance of SortByField using the specified parameters.
Attributes
- field
the field to sort by
- Returns:
an instance of SortByField that represents sort by field operation to be performed.
Constructs an instance of SortByScript using the specified parameters.
Constructs an instance of SortByScript using the specified parameters.
Attributes
- script
a Script object containing sort logic
- sourceType
type of script source
- SourceType.NumberType: Used for numbers scripts.
- SourceType.StringType: Used for text scripts.
- Returns:
an instance of SortByScript that represents sort by script operation to be performed.