Packages

case class NumericRangeFacet(field: String, numericRanges: Seq[NumericRange], size: Option[Int] = None) extends SearchFacet with Product with Serializable

A search facet that categorizes rows into numerical ranges (or buckets) provided by the user.

field

the field to use for the facet

numericRanges

the ranges. At least one should be specified.

size

the maximum number of facets to return

returns

a constructed facet

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

Instance Constructors

  1. new NumericRangeFacet(field: String, numericRanges: Seq[NumericRange], size: Option[Int] = None)

    field

    the field to use for the facet

    numericRanges

    the ranges. At least one should be specified.

    size

    the maximum number of facets to return

Value Members

  1. val field: String
    Definition Classes
    NumericRangeFacetSearchFacet
  2. val numericRanges: Seq[NumericRange]
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val size: Option[Int]
    Definition Classes
    NumericRangeFacetSearchFacet