Package lumis.portal.bigdata.query
Class SearchQuerySort
- java.lang.Object
-
- lumis.portal.bigdata.query.SearchQuerySort
-
- All Implemented Interfaces:
ISearchQuerySort
- Direct Known Subclasses:
GeoDistanceSearchQuerySort
@StableMinor(version="14.2", sinceVersion="8.1") public class SearchQuerySort extends Object implements ISearchQuerySort
Search sort definition. Defines which field will be used in sorting and the sort order.
Whether accents are considered for sorting or not isbig data implementation
specific.- Since:
- 8.1.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
- See Also:
IBigDataSearcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchQuerySort.Order
The sort orders.
-
Constructor Summary
Constructors Constructor Description SearchQuerySort(String fieldId, SearchQuerySort.Order order)
Creates a new instance.SearchQuerySort(DocumentTypeField field, SearchQuerySort.Order order)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldId()
Returns the field id.SearchQuerySort.Order
getOrder()
Returns the sort order.
-
-
-
Constructor Detail
-
SearchQuerySort
public SearchQuerySort(String fieldId, SearchQuerySort.Order order)
Creates a new instance.- Parameters:
fieldId
- the field identifier.order
- the sort order.- Since:
- 8.1.0
-
SearchQuerySort
public SearchQuerySort(DocumentTypeField field, SearchQuerySort.Order order)
Creates a new instance.- Parameters:
field
- the field.order
- the sort order.- Since:
- 10.0.0
-
-
Method Detail
-
getFieldId
public String getFieldId()
Returns the field id.- Returns:
- the field id.
- Since:
- 8.1.0
-
getOrder
public SearchQuerySort.Order getOrder()
Returns the sort order.- Returns:
- the sort order.
- Since:
- 8.1.0
-
-