object ElasticAggregation
- Alphabetic
- By Inheritance
- ElasticAggregation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
avgAggregation(name: String, field: String): AvgAggregation
Constructs an instance of zio.elasticsearch.aggregation.AvgAggregation using the specified parameters.
Constructs an instance of zio.elasticsearch.aggregation.AvgAggregation using the specified parameters.
- name
aggregation name
- field
the field for which avg aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.AvgAggregation that represents avg aggregation to be performed.
-
final
def
avgAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): AvgAggregation
Constructs a type-safe instance of zio.elasticsearch.aggregation.AvgAggregation using the specified parameters.
Constructs a type-safe instance of zio.elasticsearch.aggregation.AvgAggregation using the specified parameters.
- A
expected number type
- name
aggregation name
- field
the type-safe field for which avg aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.AvgAggregation that represents avg aggregation to be performed.
-
final
def
bucketSelectorAggregation(name: String, script: Script, bucketsPath: Map[String, String]): BucketSelectorAggregation
Constructs an instance of zio.elasticsearch.aggregation.BucketSelectorAggregation using the specified parameters.
Constructs an instance of zio.elasticsearch.aggregation.BucketSelectorAggregation using the specified parameters.
- name
aggregation name
- script
The script to run for this aggregation. The script can be inline, file or indexed
- bucketsPath
A map of script variables and their associated path to the buckets we wish to use for the variable
- returns
an instance of zio.elasticsearch.aggregation.BucketSelectorAggregation that represents bucket selector aggregation to be performed.
-
final
def
bucketSortAggregation(name: String): BucketSortAggregation
Constructs an instance of zio.elasticsearch.aggregation.BucketSortAggregation using the specified parameters.
Constructs an instance of zio.elasticsearch.aggregation.BucketSortAggregation using the specified parameters.
- name
aggregation name
- returns
an instance of zio.elasticsearch.aggregation.BucketSortAggregation that represents bucket sort aggregation to be performed.
-
final
def
cardinalityAggregation(name: String, field: String): CardinalityAggregation
Constructs an instance of zio.elasticsearch.aggregation.CardinalityAggregation using the specified parameters.
Constructs an instance of zio.elasticsearch.aggregation.CardinalityAggregation using the specified parameters. It calculates an approximate count of distinct values.
- name
aggregation name
- field
the field for which cardinality aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.CardinalityAggregation that represents cardinality aggregation to be performed.
-
final
def
cardinalityAggregation(name: String, field: Field[_, Any]): CardinalityAggregation
Constructs a type-safe instance of zio.elasticsearch.aggregation.CardinalityAggregation using the specified parameters.
Constructs a type-safe instance of zio.elasticsearch.aggregation.CardinalityAggregation using the specified parameters. It calculates an approximate count of distinct values.
- name
aggregation name
- field
the type-safe field for which cardinality aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.CardinalityAggregation that represents cardinality aggregation to be performed.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
maxAggregation(name: String, field: String): MaxAggregation
Constructs an instance of zio.elasticsearch.aggregation.MaxAggregation using the specified parameters.
Constructs an instance of zio.elasticsearch.aggregation.MaxAggregation using the specified parameters.
- name
aggregation name
- field
the field for which max aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.MaxAggregation that represents max aggregation to be performed.
-
final
def
maxAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): MaxAggregation
Constructs a type-safe instance of zio.elasticsearch.aggregation.MaxAggregation using the specified parameters.
Constructs a type-safe instance of zio.elasticsearch.aggregation.MaxAggregation using the specified parameters.
- A
expected number type
- name
aggregation name
- field
the type-safe field for which max aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.MaxAggregation that represents max aggregation to be performed.
-
final
def
minAggregation(name: String, field: String): MinAggregation
Constructs an instance of zio.elasticsearch.aggregation.MinAggregation using the specified parameters.
Constructs an instance of zio.elasticsearch.aggregation.MinAggregation using the specified parameters.
- name
aggregation name
- field
the field for which min aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.MinAggregation that represents min aggregation to be performed.
-
final
def
minAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): MinAggregation
Constructs a type-safe instance of zio.elasticsearch.aggregation.MinAggregation using the specified parameters.
Constructs a type-safe instance of zio.elasticsearch.aggregation.MinAggregation using the specified parameters.
- A
expected number type
- name
aggregation name
- field
the type-safe field for which min aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.MinAggregation that represents min aggregation to be performed.
-
final
def
missingAggregation(name: String, field: String): MissingAggregation
Constructs an instance of zio.elasticsearch.aggregation.MissingAggregation using the specified parameters.
Constructs an instance of zio.elasticsearch.aggregation.MissingAggregation using the specified parameters.
- name
aggregation name
- field
the field for which missing aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.MissingAggregation that represents missing aggregation to be performed.
-
final
def
missingAggregation(name: String, field: Field[_, String]): MissingAggregation
Constructs a type-safe instance of zio.elasticsearch.aggregation.MissingAggregation using the specified parameters.
Constructs a type-safe instance of zio.elasticsearch.aggregation.MissingAggregation using the specified parameters.
- name
aggregation name
- field
the type-safe field for which missing aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.MissingAggregation that represents missing aggregation to be performed.
-
final
def
multipleAggregations: MultipleAggregations
Constructs an empty instance of the zio.elasticsearch.aggregation.MultipleAggregations.
Constructs an empty instance of the zio.elasticsearch.aggregation.MultipleAggregations.
- returns
an instance of empty zio.elasticsearch.aggregation.MultipleAggregations.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
sumAggregation(name: String, field: String): SumAggregation
Constructs an instance of zio.elasticsearch.aggregation.SumAggregation using the specified parameters.
Constructs an instance of zio.elasticsearch.aggregation.SumAggregation using the specified parameters.
- name
aggregation name
- field
the field for which sum aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.SumAggregation that represents sum aggregation to be performed.
-
final
def
sumAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): SumAggregation
Constructs a type-safe instance of zio.elasticsearch.aggregation.SumAggregation using the specified parameters.
Constructs a type-safe instance of zio.elasticsearch.aggregation.SumAggregation using the specified parameters.
- A
expected number type
- name
aggregation name
- field
the type-safe field for which sum aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.SumAggregation that represents sum aggregation to be performed.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
termsAggregation(name: String, field: String): TermsAggregation
Constructs an instance of zio.elasticsearch.aggregation.TermsAggregation using the specified parameters.
Constructs an instance of zio.elasticsearch.aggregation.TermsAggregation using the specified parameters.
- name
aggregation name
- field
the field for which terms aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.TermsAggregation that represents terms aggregation to be performed.
-
final
def
termsAggregation(name: String, field: Field[_, String]): TermsAggregation
Constructs a type-safe instance of zio.elasticsearch.aggregation.TermsAggregation using the specified parameters.
Constructs a type-safe instance of zio.elasticsearch.aggregation.TermsAggregation using the specified parameters.
- name
the name of the aggregation
- field
the type-safe field for which the aggregation will be executed
- returns
an instance of zio.elasticsearch.aggregation.TermsAggregation that represents terms aggregation to be performed.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )