Class VertexDefinition
java.lang.Object
co.elastic.clients.elasticsearch.graph.VertexDefinition
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<VertexDefinition>Json deserializer forVertexDefinition -
Method Summary
Modifier and TypeMethodDescriptionexclude()Prevents the specified terms from being included in the results.final Stringfield()Required - Identifies a field in the documents of interest.final List<VertexInclude>include()Identifies the terms of interest that form the starting points from which you want to spider out.final LongSpecifies how many documents must contain a pair of terms before it is considered to be a useful connection.static VertexDefinitionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal LongControls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.final Integersize()Specifies the maximum number of vertex terms returned for each field.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forVertexDefinition
-
-
Method Details
-
of
public static VertexDefinition of(Function<VertexDefinition.Builder, ObjectBuilder<VertexDefinition>> fn) -
exclude
Prevents the specified terms from being included in the results.API name:
exclude -
field
Required - Identifies a field in the documents of interest.API name:
field -
include
Identifies the terms of interest that form the starting points from which you want to spider out.API name:
include -
minDocCount
Specifies how many documents must contain a pair of terms before it is considered to be a useful connection. This setting acts as a certainty threshold.API name:
min_doc_count -
shardMinDocCount
Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.API name:
shard_min_doc_count -
size
Specifies the maximum number of vertex terms returned for each field.API name:
size -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupVertexDefinitionDeserializer
protected static void setupVertexDefinitionDeserializer(ObjectDeserializer<VertexDefinition.Builder> op)
-