sealed trait GeoDistanceQuery[S] extends ElasticQuery[S]
- Alphabetic
- By Inheritance
- GeoDistanceQuery
- ElasticQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
distanceType(value: DistanceType): GeoDistanceQuery[S]
Sets the
distanceTypeparameter for the zio.elasticsearch.query.GeoDistanceQuery.Sets the
distanceTypeparameter 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
distanceTypeparameter.
-
abstract
def
name(value: String): GeoDistanceQuery[S]
Sets the
queryNameparameter for the zio.elasticsearch.query.GeoDistanceQuery.Sets the
queryNameparameter 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
queryNameparameter.
-
abstract
def
validationMethod(value: ValidationMethod): GeoDistanceQuery[S]
Sets the
validationMethodparameter for the zio.elasticsearch.query.GeoDistanceQuery.Sets the
validationMethodparameter 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
validationMethodparameter.
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( ... )