Class QueryRule
java.lang.Object
co.elastic.clients.elasticsearch.query_rules.QueryRule
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
GetRuleResponse
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryRule>Json deserializer forQueryRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal QueryRuleActionsactions()Required - API name:actionsfinal List<QueryRuleCriteria>criteria()Required - API name:criteriafinal Integerpriority()API name:prioritystatic 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 <BuilderT extends QueryRule.AbstractBuilder<BuilderT>>
voidsetupQueryRuleDeserializer(ObjectDeserializer<BuilderT> op) toString()final QueryRuleTypetype()Required - API name:type
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryRule
-
-
Constructor Details
-
QueryRule
-
-
Method Details
-
queryRuleOf
-
ruleId
Required - API name:rule_id -
type
Required - API name:type -
criteria
Required - API name:criteria -
actions
Required - API name:actions -
priority
API name:priority -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryRuleDeserializer
protected static <BuilderT extends QueryRule.AbstractBuilder<BuilderT>> void setupQueryRuleDeserializer(ObjectDeserializer<BuilderT> op)
-