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 QueryRuleActions
actions()
Required - API name:actions
final List<QueryRuleCriteria>
criteria()
Required - API name:criteria
final Integer
priority()
API name:priority
static QueryRule
final String
ruleId()
Required - API name:rule_id
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 <BuilderT extends QueryRule.AbstractBuilder<BuilderT>>
voidsetupQueryRuleDeserializer
(ObjectDeserializer<BuilderT> op) toString()
final QueryRuleType
type()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryRuleDeserializer
protected static <BuilderT extends QueryRule.AbstractBuilder<BuilderT>> void setupQueryRuleDeserializer(ObjectDeserializer<BuilderT> op)
-