Class Hop
java.lang.Object
co.elastic.clients.elasticsearch.graph.Hop
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal HopSpecifies one or more fields from which you want to extract terms that are associated with the specified vertices.static Hopof(Function<Hop.Builder, ObjectBuilder<Hop>> fn) final Queryquery()An optional guiding query that constrains the Graph API as it explores connected terms.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()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
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupHopDeserializer
-