sealed trait RangeQuery[S, A, LB <: LowerBound, UB <: UpperBound] extends ElasticQuery[S] with HasBoost[RangeQuery[S, A, LB, UB]] with HasFormat[RangeQuery[S, A, LB, UB]]
- Alphabetic
- By Inheritance
- RangeQuery
- HasFormat
- HasBoost
- ElasticQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def boost(value: Double): RangeQuery[S, A, LB, UB]
Sets the
boost
parameter for this zio.elasticsearch.query.ElasticQuery.Sets the
boost
parameter for this zio.elasticsearch.query.ElasticQuery. Theboost
value is a positive multiplier applied to the score of documents matching the query. A value greater than 1 increases the relevance score of matching documents, while a value less than 1 decreases it. The defaultboost
value is 1.- value
a non-negative real number to set
boost
parameter to- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
boost
value set.
- Definition Classes
- HasBoost
- abstract def format(value: String): RangeQuery[S, A, LB, UB]
Sets the date format for the zio.elasticsearch.query.sort.SortByField.
Sets the date format for the zio.elasticsearch.query.sort.SortByField. This method is only applicable to fields of type
date
.- value
the
date
format to set- returns
an instance of the zio.elasticsearch.query.sort.SortByField enriched with the
format
parameter.
- Definition Classes
- HasFormat
- abstract def gt[B <: A](value: B)(implicit arg0: ElasticPrimitive[B], ev: =:=[LB, Unbounded.type]): RangeQuery[S, B, GreaterThan[B], UB]
Sets the greater-than bound for the zio.elasticsearch.query.RangeQuery.
Sets the greater-than bound for the zio.elasticsearch.query.RangeQuery.
- B
the type of the value, constrained by the zio.elasticsearch.ElasticPrimitive
- value
the value for the greater-than bound
- returns
an instance of zio.elasticsearch.query.RangeQuery enriched with the greater-than bound set.
- abstract def gte[B <: A](value: B)(implicit arg0: ElasticPrimitive[B], ev: =:=[LB, Unbounded.type]): RangeQuery[S, B, GreaterThanOrEqualTo[B], UB]
Sets the greater-than-or-equal-to bound for the zio.elasticsearch.query.RangeQuery.
Sets the greater-than-or-equal-to bound for the zio.elasticsearch.query.RangeQuery.
- B
the type of the value, constrained by the zio.elasticsearch.ElasticPrimitive
- value
the value for the greater-than-or-equal-to bound
- returns
an instance of zio.elasticsearch.query.RangeQuery enriched with the greater-than-or-equal-to bound set.
- abstract def lt[B <: A](value: B)(implicit arg0: ElasticPrimitive[B], ev: =:=[UB, Unbounded.type]): RangeQuery[S, B, LB, LessThan[B]]
Sets the less-than bound for the zio.elasticsearch.query.RangeQuery.
Sets the less-than bound for the zio.elasticsearch.query.RangeQuery.
- B
the type of the value, constrained by the zio.elasticsearch.ElasticPrimitive
- value
the value for the less-than bound
- returns
an instance of zio.elasticsearch.query.RangeQuery enriched with the less-than bound set.
- abstract def lte[B <: A](value: B)(implicit arg0: ElasticPrimitive[B], ev: =:=[UB, Unbounded.type]): RangeQuery[S, B, LB, LessThanOrEqualTo[B]]
Sets the less-than-or-equal-to bound for the zio.elasticsearch.query.RangeQuery.
Sets the less-than-or-equal-to bound for the zio.elasticsearch.query.RangeQuery.
- B
the type of the value, constrained by the zio.elasticsearch.ElasticPrimitive
- value
the value for the less-than-or-equal-to bound
- returns
an instance of zio.elasticsearch.query.RangeQuery enriched with the less-than-or-equal-to bound set.
Concrete 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])