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
- All
Abstract Value Members
-
abstract
def
boost(value: Double): RangeQuery[S, A, LB, UB]
Sets the
boostparameter for this zio.elasticsearch.query.ElasticQuery.Sets the
boostparameter for this zio.elasticsearch.query.ElasticQuery. Theboostvalue 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 defaultboostvalue is 1.- value
a non-negative real number to set
boostparameter to- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
boostvalue 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
dateformat to set- returns
an instance of the zio.elasticsearch.query.sort.SortByField enriched with the
formatparameter.
- 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( ... ) @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
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
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )