Class MutualInformation.MutualInformationBuilder
java.lang.Object
org.opensearch.search.aggregations.bucket.terms.heuristic.NXYSignificanceHeuristic.NXYBuilder
org.opensearch.search.aggregations.bucket.terms.heuristic.MutualInformation.MutualInformationBuilder
- All Implemented Interfaces:
org.opensearch.common.xcontent.ToXContent
,org.opensearch.common.xcontent.ToXContentFragment
,SignificanceHeuristicBuilder
- Enclosing class:
- MutualInformation
public static class MutualInformation.MutualInformationBuilder extends NXYSignificanceHeuristic.NXYBuilder
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.opensearch.search.aggregations.bucket.terms.heuristic.NXYSignificanceHeuristic.NXYBuilder
backgroundIsSuperset, includeNegatives
-
Constructor Summary
Constructors Constructor Description MutualInformationBuilder(boolean includeNegatives, boolean backgroundIsSuperset)
-
Method Summary
Modifier and Type Method Description org.opensearch.common.xcontent.XContentBuilder
toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params)
Methods inherited from class org.opensearch.search.aggregations.bucket.terms.heuristic.NXYSignificanceHeuristic.NXYBuilder
build
-
Constructor Details
-
MutualInformationBuilder
public MutualInformationBuilder(boolean includeNegatives, boolean backgroundIsSuperset)
-
-
Method Details
-
toXContent
public org.opensearch.common.xcontent.XContentBuilder toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Throws:
java.io.IOException
-