Class Hop
java.lang.Object
co.elastic.clients.elasticsearch.graph.Hop
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Hop
Specifies one or more fields from which you want to extract terms that are associated with the specified vertices.static Hop
of
(Function<Hop.Builder, ObjectBuilder<Hop>> fn) final Query
query()
Required - An optional guiding query that constrains the Graph API as it explores connected terms.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
final List<VertexDefinition>
vertices()
Required - Contains the fields you are interested in.
-
Field Details
-
_DESERIALIZER
Json deserializer forHop
-
-
Method Details
-
of
-
connections
Specifies one or more fields from which you want to extract terms that are associated with the specified vertices.API name:
connections
-
query
Required - An optional guiding query that constrains the Graph API as it explores connected terms.API name:
query
-
vertices
Required - Contains the fields you are interested in.API name:
vertices
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupHopDeserializer
-