TermsAggregation

case class TermsAggregation(name: String, field: Option[String], script: Option[Script], missing: Option[AnyRef], size: Option[Int], minDocCount: Option[Long], showTermDocCountError: Option[Boolean], valueType: Option[ValueType], executionHint: Option[String], shardMinDocCount: Option[Long], collectMode: Option[SubAggCollectionMode], orders: Seq[TermsOrder], shardSize: Option[Int], includeExactValues: Seq[String], includeRegex: Option[String], excludeExactValues: Seq[String], excludeRegex: Option[String], includePartition: Option[IncludePartition], subaggs: Seq[AbstractAggregation], metadata: Map[String, AnyRef]) extends Aggregation
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Types

Value members

Concrete methods

def excludeExactValues(head: String, tail: String*): TermsAggregation
def excludeExactValues(excludes: Seq[String]): TermsAggregation
def excludeRegex(regex: String): TermsAggregation
def executionHint(hint: String): TermsAggregation
def field(field: String): TermsAggregation
def includeExactValues(head: String, tail: String*): TermsAggregation
def includeExactValues(includes: Seq[String]): TermsAggregation
def includePartition(partition: Int, numPartitions: Int): TermsAggregation
def includeRegex(regex: String): TermsAggregation
override def metadata(map: Map[String, AnyRef]): T
Definition Classes
def missing(missing: AnyRef): TermsAggregation
def order(orders: Iterable[TermsOrder]): TermsAggregation
def order(firstOrder: TermsOrder, restOrder: TermsOrder*): TermsAggregation
def shardSize(shardSize: Int): TermsAggregation
def showTermDocCountError(showError: Boolean): TermsAggregation
def size(size: Int): TermsAggregation
override def subAggregations(aggs: Iterable[AbstractAggregation]): T
Definition Classes

Inherited methods

Inherited from:
Aggregation
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def subaggs(aggs: Iterable[AbstractAggregation]): T
Inherited from:
Aggregation
Inherited from:
Aggregation