Class

com.sksamuel.elastic4s.searches.aggs

TopHitsAggregation

Related Doc: package aggs

Permalink

case class TopHitsAggregation(name: String, explain: Option[Boolean] = None, fetchSource: Option[FetchSourceContext] = None, size: Option[Int] = None, from: Option[Int] = None, sorts: Seq[Sort] = Nil, trackScores: Option[Boolean] = None, version: Option[Boolean] = None, scripts: Map[String, Script] = Map.empty, storedFields: Seq[String] = Nil, subaggs: Seq[AbstractAggregation] = Nil, metadata: Map[String, AnyRef] = Map.empty) extends Aggregation with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Aggregation, AbstractAggregation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TopHitsAggregation
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Aggregation
  7. AbstractAggregation
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TopHitsAggregation(name: String, explain: Option[Boolean] = None, fetchSource: Option[FetchSourceContext] = None, size: Option[Int] = None, from: Option[Int] = None, sorts: Seq[Sort] = Nil, trackScores: Option[Boolean] = None, version: Option[Boolean] = None, scripts: Map[String, Script] = Map.empty, storedFields: Seq[String] = Nil, subaggs: Seq[AbstractAggregation] = Nil, metadata: Map[String, AnyRef] = Map.empty)

    Permalink

Type Members

  1. type T = TopHitsAggregation

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addSubAggregation(agg: AbstractAggregation): T

    Permalink
    Definition Classes
    Aggregation
  5. def addSubagg(agg: AbstractAggregation): T

    Permalink
    Definition Classes
    Aggregation
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def explain(explain: Boolean): TopHitsAggregation

    Permalink
  10. val explain: Option[Boolean]

    Permalink
  11. def fetchSource(fetchSource: Boolean): TopHitsAggregation

    Permalink
  12. def fetchSource(includes: Array[String], excludes: Array[String]): TopHitsAggregation

    Permalink
  13. val fetchSource: Option[FetchSourceContext]

    Permalink
  14. def from(from: Int): TopHitsAggregation

    Permalink
  15. val from: Option[Int]

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def metadata(map: Map[String, AnyRef]): T

    Permalink
  19. val metadata: Map[String, AnyRef]

    Permalink
  20. val name: String

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. def script(name: String, script: Script): T

    Permalink
  25. val scripts: Map[String, Script]

    Permalink
  26. def size(size: Int): TopHitsAggregation

    Permalink
  27. val size: Option[Int]

    Permalink
  28. def sortBy(sorts: Iterable[Sort]): TopHitsAggregation

    Permalink
  29. def sortBy(first: Sort, rest: Sort*): TopHitsAggregation

    Permalink
  30. val sorts: Seq[Sort]

    Permalink
  31. def storedField(field: String): TopHitsAggregation

    Permalink
  32. def storedFields(fields: Iterable[String]): TopHitsAggregation

    Permalink
  33. def storedFields(first: String, rest: String*): TopHitsAggregation

    Permalink
  34. val storedFields: Seq[String]

    Permalink
  35. def subAggregations(aggs: Iterable[AbstractAggregation]): T

    Permalink
    Definition Classes
    TopHitsAggregationAggregation
  36. def subAggregations(first: AbstractAggregation, rest: AbstractAggregation*): T

    Permalink
    Definition Classes
    Aggregation
  37. def subaggs(aggs: Iterable[AbstractAggregation]): T

    Permalink
    Definition Classes
    Aggregation
  38. def subaggs(first: AbstractAggregation, rest: AbstractAggregation*): T

    Permalink
    Definition Classes
    Aggregation
  39. val subaggs: Seq[AbstractAggregation]

    Permalink
    Definition Classes
    TopHitsAggregationAggregation
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def trackScores(trackScores: Boolean): TopHitsAggregation

    Permalink
  42. val trackScores: Option[Boolean]

    Permalink
  43. def version(version: Boolean): TopHitsAggregation

    Permalink
  44. val version: Option[Boolean]

    Permalink
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Aggregation

Inherited from AbstractAggregation

Inherited from AnyRef

Inherited from Any

Ungrouped