Class Vertex
java.lang.Object
co.elastic.clients.elasticsearch.graph.Vertex
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Vertex extends java.lang.Object implements JsonpSerializable
-
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 -
Constructor Summary
Constructors Constructor Description Vertex(Vertex.Builder builder)Vertex(java.util.function.Function<Vertex.Builder,Vertex.Builder> fn) -
Method Summary
Modifier and Type Method Description longdepth()API name:depthjava.lang.Stringfield()API name:fieldvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupVertexDeserializer(DelegatingDeserializer<Vertex.Builder> op)java.lang.Stringterm()API name:termdoubleweight()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
-
-
Constructor Details
-
Vertex
-
Vertex
-
-
Method Details
-
depth
public long depth()API name:depth -
field
public java.lang.String field()API name:field -
term
public java.lang.String term()API name:term -
weight
public double weight()API name:weight -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupVertexDeserializer
-