Пример #1
0
 /**
  * Utility usable by subclasses when they want to get basic String sorting using common checks.
  *
  * @see SchemaField#checkSortability
  */
 protected SortField getStringSort(SchemaField field, boolean reverse) {
   field.checkSortability();
   return Sorting.getStringSortField(
       field.name, reverse, field.sortMissingLast(), field.sortMissingFirst());
 }