case class DateRangeFacet(field: String, dateRanges: Seq[DateRange], size: Option[Int] = None) extends SearchFacet with Product with Serializable
A facet that categorizes rows inside date ranges (or buckets) provided by the user.
- field
the field to use for the facet
- dateRanges
the ranges. At least one should be specified.
- size
the maximum number of facets to return
- Since
1.0.0
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DateRangeFacet
- Serializable
- Serializable
- Product
- Equals
- SearchFacet
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
- val dateRanges: Seq[DateRange]
-
val
field: String
- Definition Classes
- DateRangeFacet → SearchFacet
-
def
injectParams(queryJson: JsonObject): Unit
- Definition Classes
- DateRangeFacet → SearchFacet
-
val
size: Option[Int]
- Definition Classes
- DateRangeFacet → SearchFacet