Packages

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 to Auto

mode

the sort mode. If left at the default None, it will default on the server to Default

missing

the missing mode. If left at the default None, it will default on the server to Last

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)

Linear Supertypes
Serializable, Product, Equals, SearchSort, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldSort
  2. Serializable
  3. Product
  4. Equals
  5. SearchSort
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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 to Auto

    mode

    the sort mode. If left at the default None, it will default on the server to Default

    missing

    the missing mode. If left at the default None, it will default on the server to Last

    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

  1. val descending: Option[Boolean]
    Definition Classes
    FieldSortSearchSort
  2. val field: String
  3. val missing: Option[FieldSortMissing]
  4. val mode: Option[FieldSortMode]
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val typ: Option[FieldSortType]