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 class
Vertex.Builder
Builder forVertex
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Vertex>
_DESERIALIZER
Json deserializer forVertex
-
Method Summary
Modifier and Type Method Description long
depth()
Required - API name:depth
java.lang.String
field()
Required - API name:field
static Vertex
of(java.util.function.Function<Vertex.Builder,ObjectBuilder<Vertex>> fn)
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
setupVertexDeserializer(ObjectDeserializer<Vertex.Builder> op)
java.lang.String
term()
Required - API name:term
double
weight()
Required - API name:weight
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupVertexDeserializer
-