TopMetricsAggregation

case class TopMetricsAggregation(name: String, metrics: List[String], size: Option[Int], sort: Option[Sort], subaggs: Seq[AbstractAggregation], metadata: Map[String, AnyRef]) extends Aggregation
trait Serializable
trait Product
trait Equals
trait Aggregation
trait AbstractAggregation
class Object
trait Matchable
class Any

Type members

Value members

Concrete methods

override def metadata(map: Map[String, AnyRef]): T
Definition Classes
AbstractAggregation
override def subAggregations(aggs: Iterable[AbstractAggregation]): T
Definition Classes
Aggregation
def withMetrics(field: String, fields: String*): TopMetricsAggregation
def withMetrics(fields: Iterable[String]): TopMetricsAggregation

Inherited methods

def addSubAggregation(agg: AbstractAggregation): T
Inherited from:
Aggregation
def addSubagg(agg: AbstractAggregation): T
Inherited from:
Aggregation
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def subAggregations(first: AbstractAggregation, rest: AbstractAggregation*): T
Inherited from:
Aggregation
def subaggs(aggs: Iterable[AbstractAggregation]): T
Inherited from:
Aggregation
def subaggs(first: AbstractAggregation, rest: AbstractAggregation*): T
Inherited from:
Aggregation