Package org.imixs.workflow.engine.index
Class SortOrder
java.lang.Object
org.imixs.workflow.engine.index.SortOrder
Stores information about how to sort documents by terms by an individual
field. Fields must be indexed in order to sort by them.
- Version:
- 1.0
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SortOrder
Creates a sort, possibly in reverse, with a custom comparison function.- Parameters:
field
- Name of field to sort by; cannot benull
.comparator
- Returns a comparator for sorting hits.reverse
- True if natural order should be reversed.
-
-
Method Details