Class GeoShapeProperty
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
co.elastic.clients.elasticsearch._types.mapping.GeoShapeProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
@JsonpDeserializable public class GeoShapeProperty extends DocValuesPropertyBase implements PropertyVariant
The
geo_shape
data type facilitates the indexing of and
searching with arbitrary geo shapes such as rectangles and polygons.- See Also:
- Documentation on elastic.co, API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoShapeProperty.Builder
Builder forGeoShapeProperty
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
DocValuesPropertyBase.AbstractBuilder<BuilderT extends DocValuesPropertyBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoShapeProperty>
_DESERIALIZER
Json deserializer forGeoShapeProperty
-
Method Summary
Modifier and Type Method Description Property.Kind
_propertyKind()
Property variant kind.java.lang.Boolean
coerce()
API name:coerce
java.lang.Boolean
ignoreMalformed()
API name:ignore_malformed
java.lang.Boolean
ignoreZValue()
API name:ignore_z_value
static GeoShapeProperty
of(java.util.function.Function<GeoShapeProperty.Builder,ObjectBuilder<GeoShapeProperty>> fn)
GeoOrientation
orientation()
API name:orientation
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGeoShapePropertyDeserializer(ObjectDeserializer<GeoShapeProperty.Builder> op)
GeoStrategy
strategy()
API name:strategy
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
docValues, setupDocValuesPropertyBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
copyTo, setupCorePropertyBaseDeserializer, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, properties, serialize, setupPropertyBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.json.JsonpSerializable
serialize
Methods inherited from interface co.elastic.clients.elasticsearch._types.mapping.PropertyVariant
_toProperty
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoShapeProperty
-
-
Method Details
-
of
public static GeoShapeProperty of(java.util.function.Function<GeoShapeProperty.Builder,ObjectBuilder<GeoShapeProperty>> fn) -
_propertyKind
Property variant kind.- Specified by:
_propertyKind
in interfacePropertyVariant
-
coerce
@Nullable public final java.lang.Boolean coerce()API name:coerce
-
ignoreMalformed
@Nullable public final java.lang.Boolean ignoreMalformed()API name:ignore_malformed
-
ignoreZValue
@Nullable public final java.lang.Boolean ignoreZValue()API name:ignore_z_value
-
orientation
API name:orientation
-
strategy
API name:strategy
-
serializeInternal
- Overrides:
serializeInternal
in classDocValuesPropertyBase
-
setupGeoShapePropertyDeserializer
protected static void setupGeoShapePropertyDeserializer(ObjectDeserializer<GeoShapeProperty.Builder> op)
-