Class ShapeProperty
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.ShapeProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
@JsonpDeserializable public class ShapeProperty extends DocValuesPropertyBase implements PropertyVariant
The
shape
data type facilitates the indexing of and searching
with arbitrary x, y
cartesian 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
ShapeProperty.Builder
Builder forShapeProperty
.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<ShapeProperty>
_DESERIALIZER
Json deserializer forShapeProperty
-
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 ShapeProperty
of(java.util.function.Function<ShapeProperty.Builder,ObjectBuilder<ShapeProperty>> fn)
GeoOrientation
orientation()
API name:orientation
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupShapePropertyDeserializer(ObjectDeserializer<ShapeProperty.Builder> op)
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, name, properties, serialize, setupPropertyBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 forShapeProperty
-
-
Method Details
-
of
public static ShapeProperty of(java.util.function.Function<ShapeProperty.Builder,ObjectBuilder<ShapeProperty>> 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
-
serializeInternal
- Overrides:
serializeInternal
in classDocValuesPropertyBase
-
setupShapePropertyDeserializer
-