case class FieldSort(field: String, typ: Option[FieldSortType] = None, mode: Option[FieldSortMode] = None, missing: Option[FieldSortMissing] = None, descending: Option[Boolean] = None) extends SearchSort with Product with Serializable
Sort by a field in the rows.
- field
the name of the field to sort on
- typ
the type of the field. If left at the default
None
, it will default on the server toAuto
- mode
the sort mode. If left at the default
None
, it will default on the server toDefault
- missing
the missing mode. If left at the default
None
, it will default on the server toLast
- descending
whether the search results should be sorted in descending order. If None (the default) is specified, it is left to the server (which sorts descending by default)
- Alphabetic
- By Inheritance
- FieldSort
- Serializable
- Product
- Equals
- SearchSort
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FieldSort(field: String, typ: Option[FieldSortType] = None, mode: Option[FieldSortMode] = None, missing: Option[FieldSortMissing] = None, descending: Option[Boolean] = None)
- field
the name of the field to sort on
- typ
the type of the field. If left at the default
None
, it will default on the server toAuto
- mode
the sort mode. If left at the default
None
, it will default on the server toDefault
- missing
the missing mode. If left at the default
None
, it will default on the server toLast
- descending
whether the search results should be sorted in descending order. If None (the default) is specified, it is left to the server (which sorts descending by default)
Value Members
- val descending: Option[Boolean]
- Definition Classes
- FieldSort → SearchSort
- val field: String
- val missing: Option[FieldSortMissing]
- val mode: Option[FieldSortMode]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val typ: Option[FieldSortType]