Class Hop
java.lang.Object
co.elastic.clients.elasticsearch.graph.Hop
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Hop extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Hop.Builder
Builder forHop
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Hop>
_DESERIALIZER
Json deserializer forHop
-
Method Summary
Modifier and Type Method Description Hop
connections()
API name:connections
static Hop
of(java.util.function.Function<Hop.Builder,ObjectBuilder<Hop>> fn)
Query
query()
Required - API name:query
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
setupHopDeserializer(ObjectDeserializer<Hop.Builder> op)
java.lang.String
toString()
java.util.List<VertexDefinition>
vertices()
Required - API name:vertices
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHop
-
-
Method Details
-
of
-
connections
API name:connections
-
query
Required - API name:query
-
vertices
Required - API name:vertices
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupHopDeserializer
-