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
Ordering
- Alphabetic
- By Inheritance
Inherited
- NumericRangeFacet
- Serializable
- Product
- Equals
- SearchFacet
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- val field: String
- Definition Classes
- NumericRangeFacet → SearchFacet
- val numericRanges: Seq[NumericRange]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val size: Option[Int]
- Definition Classes
- NumericRangeFacet → SearchFacet