Class QueryRule
java.lang.Object
co.elastic.clients.elasticsearch.query_ruleset.QueryRule
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryRule>Json deserializer forQueryRule -
Method Summary
Modifier and TypeMethodDescriptionfinal QueryRuleActionsactions()Required - API name:actionsfinal List<QueryRuleCriteria>criteria()Required - API name:criteriastatic QueryRulefinal StringruleId()Required - API name:rule_idvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final QueryRuleTypetype()Required - API name:type
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryRule
-
-
Method Details
-
of
-
ruleId
Required - API name:rule_id -
type
Required - API name:type -
criteria
Required - API name:criteria -
actions
Required - API name:actions -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryRuleDeserializer
-