Packages

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
Serializable, Product, Equals, SearchFacet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DateRangeFacet
  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 DateRangeFacet(field: String, dateRanges: Seq[DateRange], size: Option[Int] = None)

    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

Value Members

  1. val dateRanges: Seq[DateRange]
  2. val field: String
    Definition Classes
    DateRangeFacetSearchFacet
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val size: Option[Int]
    Definition Classes
    DateRangeFacetSearchFacet