Class Vertex
java.lang.Object
co.elastic.clients.elasticsearch.graph.Vertex
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Vertex extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVertex.BuilderBuilder forVertex. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Vertex>_DESERIALIZERJson deserializer forVertex -
Method Summary
Modifier and Type Method Description longdepth()Required - API name:depthjava.lang.Stringfield()Required - API name:fieldstatic Vertexof(java.util.function.Function<Vertex.Builder,ObjectBuilder<Vertex>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupVertexDeserializer(ObjectDeserializer<Vertex.Builder> op)java.lang.Stringterm()Required - API name:termdoubleweight()Required - API name:weightMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forVertex
-
-
Method Details
-
of
-
depth
public final long depth()Required - API name:depth -
field
public final java.lang.String field()Required - API name:field -
term
public final java.lang.String term()Required - API name:term -
weight
public final double weight()Required - API name:weight -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupVertexDeserializer
-