Class ShapeFieldQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.ShapeFieldQuery
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShapeFieldQuery>Json deserializer forShapeFieldQuery -
Method Summary
Modifier and TypeMethodDescriptionfinal FieldLookupQueries using a pre-indexed shape.static ShapeFieldQueryfinal GeoShapeRelationrelation()Spatial relation between the query shape and the document shape.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal JsonDatashape()Queries using an inline shape definition in GeoJSON or Well Known Text (WKT) format.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forShapeFieldQuery
-
-
Method Details
-
of
public static ShapeFieldQuery of(Function<ShapeFieldQuery.Builder, ObjectBuilder<ShapeFieldQuery>> fn) -
indexedShape
Queries using a pre-indexed shape.API name:
indexed_shape -
relation
Spatial relation between the query shape and the document shape.API name:
relation -
shape
Queries using an inline shape definition in GeoJSON or Well Known Text (WKT) format.API name:
shape -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupShapeFieldQueryDeserializer
protected static void setupShapeFieldQueryDeserializer(ObjectDeserializer<ShapeFieldQuery.Builder> op)
-