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.0", 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: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
- 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
-
-