Class GeoLine
java.lang.Object
co.elastic.clients.elasticsearch._types.GeoLine
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GeoLine extends java.lang.Object implements JsonpSerializable
A GeoJson GeoLine.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoLine.BuilderBuilder forGeoLine. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoLine>_DESERIALIZERJson deserializer forGeoLine -
Method Summary
Modifier and Type Method Description java.util.List<java.util.List<java.lang.Double>>coordinates()Required - Array of[lon, lat]coordinatesstatic GeoLineof(java.util.function.Function<GeoLine.Builder,ObjectBuilder<GeoLine>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGeoLineDeserializer(ObjectDeserializer<GeoLine.Builder> op)java.lang.Stringtype()Required - Always"LineString"Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoLine
-
-
Method Details
-
of
-
type
public final java.lang.String type()Required - Always"LineString"API name:
type -
coordinates
public final java.util.List<java.util.List<java.lang.Double>> coordinates()Required - Array of[lon, lat]coordinatesAPI name:
coordinates -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGeoLineDeserializer
-