Class EnrichResolution
java.lang.Object
org.elasticsearch.xpack.esql.analysis.EnrichResolution
Holds the resolution results of the enrich polices.
The results and errors are collected via
addResolvedPolicy(java.lang.String, org.elasticsearch.xpack.esql.plan.logical.Enrich.Mode, org.elasticsearch.xpack.esql.enrich.ResolvedEnrichPolicy) and addError(java.lang.String, org.elasticsearch.xpack.esql.plan.logical.Enrich.Mode, java.lang.String).
And the results can be retrieved via getResolvedPolicy(java.lang.String, org.elasticsearch.xpack.esql.plan.logical.Enrich.Mode) and getError(java.lang.String, org.elasticsearch.xpack.esql.plan.logical.Enrich.Mode)-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddError(String policyName, Enrich.Mode mode, String reason) voidaddResolvedPolicy(String policyName, Enrich.Mode mode, ResolvedEnrichPolicy policy) getError(String policyName, Enrich.Mode mode) getResolvedPolicy(String policyName, Enrich.Mode mode)
-
Constructor Details
-
EnrichResolution
public EnrichResolution()
-
-
Method Details
-
getResolvedPolicy
-
resolvedEnrichPolicies
-
getError
-
addResolvedPolicy
-
addError
-