sealed trait GeoDistanceQuery[S] extends ElasticQuery[S]
- Alphabetic
- By Inheritance
- GeoDistanceQuery
- ElasticQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def distanceType(value: DistanceType): GeoDistanceQuery[S]
Sets the
distanceType
parameter for the zio.elasticsearch.query.GeoDistanceQuery.Sets the
distanceType
parameter for the zio.elasticsearch.query.GeoDistanceQuery. Defines how to compute the distance.- value
defines how to compute the distance
- zio.elasticsearch.query.DistanceType.Arc: Default algorithm
- zio.elasticsearch.query.DistanceType.Plane: Faster, but inaccurate on long distances and close to the poles
- returns
an instance of zio.elasticsearch.query.GeoDistanceQuery enriched with the
distanceType
parameter.
- abstract def name(value: String): GeoDistanceQuery[S]
Sets the
queryName
parameter for the zio.elasticsearch.query.GeoDistanceQuery.Sets the
queryName
parameter for the zio.elasticsearch.query.GeoDistanceQuery. Represents the optional name field to identify the query- value
the String value to represent the name field
- returns
an instance of zio.elasticsearch.query.GeoDistanceQuery enriched with the
queryName
parameter.
- abstract def validationMethod(value: ValidationMethod): GeoDistanceQuery[S]
Sets the
validationMethod
parameter for the zio.elasticsearch.query.GeoDistanceQuery.Sets the
validationMethod
parameter for the zio.elasticsearch.query.GeoDistanceQuery. Defines handling of incorrect coordinates.- value
defines how to handle invalid latitude nad longitude:
- zio.elasticsearch.query.ValidationMethod.Strict: Default method
- zio.elasticsearch.query.ValidationMethod.IgnoreMalformed: Accepts geo points with invalid latitude or longitude
- zio.elasticsearch.query.ValidationMethod.Coerce: Additionally try and infer correct coordinates
- returns
an instance of zio.elasticsearch.query.GeoDistanceQuery enriched with the
validationMethod
parameter.
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])