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="17.0", sinceVersion="8.1") public class SearchQuerySort extends java.lang.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$ $Date$
- 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(java.lang.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 java.lang.String
getFieldId()
Returns the field id.SearchQuerySort.Order
getOrder()
Returns the sort order.
-
-
-
Constructor Detail
-
SearchQuerySort
public SearchQuerySort(java.lang.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 java.lang.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
-
-